-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
33 lines (33 loc) · 1.03 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021,
"sourceType": "module"
},
"extends": ["next/core-web-vitals", "plugin:prettier/recommended"],
"rules": {
"prettier/prettier": "off",
"@next/next/no-img-element": "off",
"jsx-a11y/alt-text": "off",
"react/display-name": "off",
"eslint-disable-next-line": "off",
"react-hooks/exhaustive-deps": "off",
"react/no-unescaped-entities": "off",
"react/jsx-max-props-per-line": [
1,
{
"maximum": 2,
"when": "multiline"
}
],
"@typescript-eslint/no-unused-vars": "off",
// Example: Disabling "@typescript-eslint/no-unused-vars" rule
// to allow unused variables in TypeScript code
"no-console": "off",
// Example: Disabling the "no-console" rule to allow console.log statements
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unknown-exports": "off",
"@typescript-eslint/no-unknown-imports": "off"
}
}