Skip to content

Commit 920fa8d

Browse files
committed
disable unnecessary eslint
1 parent b979079 commit 920fa8d

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

eslint.config.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { dirname } from "path";
2+
import { fileURLToPath } from "url";
3+
import { FlatCompat } from "@eslint/eslintrc";
4+
5+
const __filename = fileURLToPath(import.meta.url);
6+
const __dirname = dirname(__filename);
7+
8+
const compat = new FlatCompat({
9+
baseDirectory: __dirname,
10+
});
11+
12+
const eslintConfig = [
13+
...compat.extends("next/core-web-vitals", "next/typescript"),
14+
{
15+
rules: {
16+
"react/no-unescaped-entities": "off",
17+
"react-hooks/exhaustive-deps": "off",
18+
"@typescript-eslint/no-explicit-any": "off",
19+
},
20+
},
21+
];
22+
23+
export default eslintConfig;

0 commit comments

Comments
 (0)