19 lines
522 B
JavaScript
19 lines
522 B
JavaScript
import { defineConfig } from "eslint/config";
|
|||
|
|
import next from "eslint-config-next";
|
||
|
|
import path from "node:path";
|
||
|
|
import { fileURLToPath } from "node:url";
|
||
|
|
|
||
|
|
const __filename = fileURLToPath(import.meta.url);
|
||
|
|
const __dirname = path.dirname(__filename);
|
||
|
|
|
||
|
|
export default defineConfig([
|
||
|
|
{
|
||
|
|
extends: [...next],
|
||
|
|
rules: {
|
||
|
|
"react-hooks/set-state-in-effect": "off",
|
||
|
|
"react-hooks/immutability": "off",
|
||
|
|
"react/no-unescaped-entities": "off",
|
||
|
|
"@typescript-eslint/no-explicit-any": "off"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]);
|