Skip to content

Commit 23799cb

Browse files
author
TamimEhsan
committed
chore: Add ESLint with next/core-web-vitals flat config
Set up ESLint using eslint-config-next v16 native flat config with no-console (warn), no-unused-vars (warn), and react/no-unescaped-entities (off).
1 parent 09982d0 commit 23799cb

3 files changed

Lines changed: 5200 additions & 690 deletions

File tree

eslint.config.mjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
2+
3+
const eslintConfig = [
4+
...nextCoreWebVitals,
5+
{
6+
rules: {
7+
"no-console": "warn",
8+
"no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
9+
"react/no-unescaped-entities": "off",
10+
},
11+
},
12+
];
13+
14+
export default eslintConfig;

0 commit comments

Comments
 (0)