-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (37 loc) · 839 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
{
"parser": "babel-eslint",
"rules": {
"max-len": 0,
"comma-dangle": 0,
"brace-style": [2, "stroustrup"],
"no-console": 0,
"padded-blocks": 0,
"indent": [2, 2, { "SwitchCase": 1 }],
"spaced-comment": 1,
"quotes": ["error", "double", { "allowTemplateLiterals": true }],
"import/prefer-default-export": "off",
"arrow-parens": 0,
"consistent-return": 0,
"no-useless-escape": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": [
0,
{
"allowShortCircuit": true,
"allowTernary": true
}
],
"no-nested-ternary": off
},
"extends": ["airbnb-base", "eslint:recommended", "plugin:react/recommended"],
"env": {
"jest": true,
"browser": true,
"es6": true
},
"settings": {
"react": {
"version": "detect"
}
}
}