-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
36 lines (36 loc) · 886 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
34
35
36
{
"parser": "babel-eslint",
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["prettier"],
"rules": {
"jsx-a11y/anchor-is-valid": "off",
"strict": 0,
"no-console": "off",
"react/prop-types": 0,
"import/no-extraneous-dependencies": 0,
"react/state-in-constructor": 0,
"react/static-property-placement": 0,
"react/jsx-props-no-spreading": 0,
"react/react-in-jsx-scope": "off",
"react/jsx-curly-brace-presence": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": [
"error",
{
"allowTaggedTemplates": true
}
],
"react/jsx-filename-extension": [
"error",
{
"extensions": [".js", ".jsx"]
}
],
"import/no-unresolved": [2, { "caseSensitive": false }],
"class-methods-use-this": 0
},
"globals": {
"window": true,
"document": true
}
}