Skip to content

Commit 831c94d

Browse files
committed
chore(fe): update ESLint config file
1 parent c545706 commit 831c94d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

nextjs-frontend/eslint.config.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ const compat = new FlatCompat({
44
baseDirectory: import.meta.dirname,
55
});
66

7-
const eslintConfig = [
8-
...compat.config({
9-
extends: ["next/core-web-vitals", "next/typescript", "prettier"],
10-
rules: { "@typescript-eslint/no-empty-object-type": "off" },
11-
}),
12-
];
7+
const eslintConfig = [{
8+
ignores: ["node_modules/**", ".next/**", "out/**", "build/**", "next-env.d.ts"]
9+
}, ...compat.config({
10+
extends: ["next/core-web-vitals", "next/typescript", "prettier"],
11+
rules: { "@typescript-eslint/no-empty-object-type": "off" },
12+
})];
1313

1414
export default eslintConfig;

0 commit comments

Comments
 (0)