-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
35 lines (35 loc) · 1.11 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
{
"extends": ["react-app", "react-app/jest"],
"rules": {
"react-hooks/exhaustive-deps": "off",
"no-console": "error",
"global-require": "error",
"arrow-body-style": "error",
"no-restricted-syntax": "error",
"import/newline-after-import": "error",
"react/self-closing-comp": "error",
"import/extensions": "error",
"import/order": "error",
"radix": "error",
"spaced-comment": "error",
"no-plusplus": "error",
"react/button-has-type": "error",
"react/jsx-curly-brace-presence": "error",
"react/jsx-no-useless-fragment": "error",
"object-shorthand": "error",
"no-shadow": "error",
"react/jsx-boolean-value": "error",
"prefer-const": "error",
"no-unused-vars": "error",
"react/no-unescaped-entities": "error",
"no-unneeded-ternary": "error",
"import/no-unresolved": "error",
"no-use-before-define": "error",
"react/jsx-closing-tag-location": "error",
"one-var-declaration-per-line": "error",
"no-else-return": "error",
"no-unused-expressions": "error",
"func-names": "error",
"react/jsx-no-duplicate-props": "error"
}
}