-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
42 lines (42 loc) · 1.15 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
38
39
40
41
42
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": [
"react",
"react-native"
],
"ecmaFeatures": {
"jsx": true,
"restParams": true,
"spread": true,
"experimentalObjectRestSpread": true
},
"extends": "airbnb",
"rules": {
"indent": [2, 2, {"SwitchCase": 1}],
"semi": [2,"always"],
"no-else-return": 0,
"no-tabs": 0,
"no-console": 0,
"consistent-return": 0,
"global-require": 2,
"comma-dangle": [2,"never"],
"no-underscore-dangle": 0,
"class-methods-use-this": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": [2, { ignore: ['src'] }],
"import/extensions": [2, { "js": "never" }],
"import/prefer-default-export": 0,
"react/jsx-indent": [2, 2],
"react/jsx-indent-props": [2, 2],
"react/prop-types": 0,
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/prefer-stateless-function": 0,
"no-param-reassign": 0,
"react/sort-comp": 1
}
}