Skip to content

Commit 4c50eef

Browse files
2 parents 5d6b627 + 720151d commit 4c50eef

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

eslint.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { FlatCompat } from "@eslint/eslintrc";
12
import { dirname } from "path";
23
import { fileURLToPath } from "url";
3-
import { FlatCompat } from "@eslint/eslintrc";
44

55
const __filename = fileURLToPath(import.meta.url);
66
const __dirname = dirname(__filename);
@@ -11,6 +11,12 @@ const compat = new FlatCompat({
1111

1212
const eslintConfig = [
1313
...compat.extends("next/core-web-vitals", "next/typescript"),
14+
{
15+
files: ["**/*.ts", "**/*.tsx"],
16+
rules: {
17+
"@typescript-eslint/no-explicit-any": "off",
18+
},
19+
},
1420
];
1521

1622
export default eslintConfig;

0 commit comments

Comments
 (0)