-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
33 lines (33 loc) · 977 Bytes
/
.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
{
"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"],
"sort-imports": ["warn"],
"sort-keys": ["error"],
"yoda": ["warn"]
}
}