/
.eslintrc
43 lines (43 loc) · 957 Bytes
/
.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
{
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"impliedStrict": true,
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["react", "prettier"],
"parser": "babel-eslint",
"rules": {
"react/prop-types": 0,
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx"]
}
],
"react/require-default-props": 1,
"react/jsx-closing-bracket-location": [1, "after-props"],
"react/sort-comp": 0,
"react/forbid-prop-types": 0,
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"func-names": 0,
"prefer-arrow-callback": 0,
"arrow-parens": ["error", "as-needed"],
"no-mixed-operators": 0
}
}