Skip to content

Commit ebb1c3a

Browse files
committed
fix(eslint): Add components/ui to ignore
1 parent abb035e commit ebb1c3a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

eslint.config.mjs

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

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

1212
const eslintConfig = [
1313
...compat.extends("next/core-web-vitals", "next/typescript"),
14+
globalIgnores([
15+
"/components/ui/*"
16+
])
1417
];
1518

1619
export default eslintConfig;

0 commit comments

Comments
 (0)