-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
37 lines (36 loc) · 1.04 KB
/
.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
// https://github.com/airbnb/javascript
{
"env": {
"amd": true,
"browser": true,
"jest": true
},
"parser": "babel-eslint",
"ecmaFeatures": {
"classes": true,
"jsx": true
},
"rules": {
"import/no-amd": 0,
"indent": [2, 4],
"quotes": [2, "single", {"allowTemplateLiterals": true}],
"max-len": 0,
"no-multiple-empty-lines": [1,{ "max": 3 }],
"no-nested-ternary": 0,
"arrow-body-style": 0,
"arrow-parens": ["error", "always"],
"no-underscore-dangle": 0,
"prefer-const": 0,
"react/prefer-stateless-function": 0,
"react/jsx-indent": [2,4],
"react/jsx-no-bind": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/sort-comp": 0,
"react/jsx-prop-new-line": 0,
"react/jsx-first-prop-new-line": 0,
"react/jsx-indent-props": 0,
"no-return-assign": 0,
"react/jsx-closing-bracket-location": 0
},
"extends": "airbnb"
}