-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
50 lines (50 loc) · 1.19 KB
/
.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"env": {
"browser": true,
"es6": true,
"jest": true
},
"globals": {
"__DEV__": true,
"__PROD__": true,
"__STANDALONE__": true,
"Backbone": true,
"shallow": true,
"mount": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"indent": ["error", 4],
"import/extensions": 0,
"max-len": [2, 120],
"global-require": 0,
"comma-dangle": 0,
"react/prefer-stateless-function": 0,
"arrow-body-style": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"react/jsx-indent": [2, 4],
"react/jsx-indent-props": [2, 4],
"react/forbid-prop-types": 0,
"class-methods-use-this": 0,
"no-mixed-operators": 0,
"no-unused-expressions": 0,
"func-names": 0,
"no-console": 0,
"react/sort-comp": 0,
"jsx-a11y": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/no-noninteractive-tabindex": 0,
"jsx-a11y/href-no-hash": "off",
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"import/prefer-default-export": 0
},
"settings": {
"import/resolver": {
"webpack": {
"config": "./webpack/webpack.standalone.js"
}
}
}
}