-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc.json
executable file
·27 lines (27 loc) · 1.04 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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "next", "next/core-web-vitals", "prettier"],
"rules": {
"no-eval": 2,
"no-extra-boolean-cast": 2,
"no-ex-assign": 2,
"no-console": 1,
"import/no-self-import": 2,
"import/no-duplicates": 2,
"@typescript-eslint/no-floating-promises": 2,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/member-delimiter-style": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": 2,
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-require-imports": 1,
"@typescript-eslint/no-non-null-assertion": 0,
"react/function-component-definition": [2, { "namedComponents": "arrow-function", "unnamedComponents": "arrow-function" }]
}
}