-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
50 lines (50 loc) · 1.38 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
41
42
43
44
45
46
47
48
49
50
{
"root": true,
"parser": "@babel/eslint-parser",
"extends": "airbnb",
"env": {
"jest": true
},
"rules": {
"react/jsx-filename-extension": [
1,
{ "extensions": [ ".js", ".jsx" ] }
],
"react/prop-types": "off",
"react/destructuring-assignment": "off",
"import/no-named-as-default": "off",
"react/jsx-props-no-spreading": "off",
"react/self-closing-comp": "warn",
"react/jsx-boolean-value": "warn",
"react/jsx-max-props-per-line": "warn",
"react/jsx-closing-bracket-location": "warn",
"react/jsx-indent": "warn",
"react/jsx-one-expression-per-line": "warn",
"no-unused-vars": "warn",
"padded-blocks": "warn",
"no-multiple-empty-lines": "warn",
"arrow-body-style": "warn",
"arrow-parens": "warn",
"semi": "warn",
"no-useless-constructor": "warn",
"no-empty-function": "warn",
"object-curly-newline": "warn",
"comma-dangle": "warn",
"one-var": "warn",
"one-var-declaration-per-line": "warn",
"eol-last": "warn",
"no-else-return": "warn",
"no-unreachable": "warn",
"max-len": "warn",
"prefer-destructuring": "warn",
"class-methods-use-this": "warn",
"operator-linebreak": "warn",
"indent": "warn",
"space-infix-ops": "warn",
"quotes": "warn",
"import/prefer-default-export": "warn"
},
"globals": {
"requestAnimationFrame": "readonly"
}
}