-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
40 lines (40 loc) · 1.06 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
39
40
{
"extends": ["eslint:recommended", "next/core-web-vitals"],
"rules": {
"jsx-a11y/alt-text": "off",
"camelcase": ["warn"],
"consistent-return": ["error"],
"dot-notation": ["error"],
"eqeqeq": ["error"],
"max-depth": ["warn"],
"no-console": ["warn"],
"no-empty-function": ["warn"],
"no-implicit-coercion": ["error"],
"no-multi-assign": ["error"],
"no-negated-condition": ["error"],
"no-nested-ternary": ["error"],
"no-param-reassign": ["error"],
"no-plusplus": ["error"],
"no-shadow": ["warn"],
"no-throw-literal": ["error"],
"no-unused-vars": "off",
"no-var": ["error"],
"object-shorthand": ["warn"],
"prefer-arrow-callback": ["warn"],
"prefer-const": ["warn"],
"prefer-destructuring": ["warn"],
"prefer-template": ["warn"],
"require-await": ["warn"],
"require-unicode-regexp": ["warn"],
"import/order": [
"warn",
{
"newlines-between": "never",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
}
}