mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-10 02:04:38 +00:00
16 lines
370 B
JavaScript
16 lines
370 B
JavaScript
const reactRefresh = require("eslint-plugin-react-refresh");
|
|
const { defineConfig } = require("eslint/config");
|
|
|
|
module.exports = defineConfig([
|
|
{
|
|
extends: ["next/core-web-vitals"],
|
|
plugins: {
|
|
"react-refresh": reactRefresh,
|
|
},
|
|
rules: {
|
|
semi: "error",
|
|
"prefer-const": "error",
|
|
"react-refresh/only-export-components": "warn",
|
|
},
|
|
},
|
|
]);
|