-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
38 lines (38 loc) · 1.23 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
34
35
36
37
38
{
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"parserOptions": {
"project": ["tsconfig.json"]
},
"rules": {
"react-hooks/exhaustive-deps": "off",
"arrow-parens": ["error"],
"quotes": ["error", "single"],
"comma-dangle": ["error", "never"],
"jsx-quotes": ["error", "prefer-single"],
"semi": "off",
"@typescript-eslint/semi": ["error", "never"],
"@typescript-eslint/no-non-null-assertion": "off",
"import/no-named-as-default": "off",
"@typescript-eslint/member-delimiter-style": ["error", {
"multiline": { "delimiter": "none" },
"singleline": { "delimiter": "semi", "requireLast": false },
"multilineDetection": "brackets"
}],
"padding-line-between-statements": "off",
"@typescript-eslint/padding-line-between-statements": ["error", {
"blankLine": "always",
"prev": "*",
"next": ["interface", "type", "class", "export"]
}],
"@typescript-eslint/no-unnecessary-condition": ["error"]
}
}