-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
51 lines (51 loc) · 1.37 KB
/
.eslintrc
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
41
42
43
44
45
46
47
48
49
50
51
{
"extends": [
"react-app",
"prettier"
],
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"no-useless-escape": "error",
"no-script-url": "error",
"jsx-a11y/anchor-has-content": "error",
"jsx-a11y/href-no-hash": "off",
"react-hooks/exhaustive-deps": "off",
"jsx-a11y/anchor-is-valid": "error",
"no-template-curly-in-string": "error",
"react/prop-types": "error",
"react/prefer-stateless-function": "off",
"react/jsx-one-expression-per-line": "off",
"linebreak-style": "error",
"react/jsx-wrap-multilines": "error",
"react/no-danger": "error",
"react/forbid-prop-types": "warn",
"no-use-before-define": "error",
"no-param-reassign": "error",
"import/no-unresolved": "off",
"no-console": "error",
"react/no-multi-comp": [
"error",
{
"ignoreStateless": true
}
],
"space-before-blocks": "error",
"space-before-function-paren": [
"error",
"never"
]
},
"parserOptions": {
"ecmaFeatures": {
"legacyDecorators": true
}
}
}