-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
40 lines (34 loc) · 806 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"babel"
],
"rules": {
"semi": [2, "never"],
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"default-case": 0,
"no-unused-expressions": [2, {
"allowShortCircuit": true,
"allowTernary": true
}],
"no-shadow": 0,
"new-cap": 0,
"no-loop-func": 0,
"prefer-template": 0,
"no-param-reassign": 0,
"func-names": 0,
"consistent-return": 0,
"no-console": 0,
"radix": 0,
"arrow-parens": 0,
"no-underscore-dangle": 0,
"class-methods-use-this": 1,
"global-require": 0,
"import/no-extraneous-dependencies": 0,
"react/jsx-closing-bracket-location": [1, "after-props"],
},
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
}