-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 1014 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
{
"parser": "babel-eslint",
"extends": ["airbnb"],
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"comma-dangle": ["error", {
"arrays": "ignore",
"objects": "ignore",
"imports": "ignore",
"exports": "ignore",
"functions": "ignore"
}],
"react/prop-types": 0,
"no-console": 0,
"react/prefer-stateless-function": [0, { "ignorePureComponents": true }],
"react/destructuring-assignment": 0,
"_comment": "remove after https://github.com/babel/babel-eslint/issues/530 fix",
"template-curly-spacing" : "off",
"indent": "off",
"consistent-return": 0,
"react/jsx-one-expression-per-line": 0,
"react/sort-comp": 0,
"no-underscore-dangle": 0,
"import/no-named-as-default-member": 0
},
"env": {
"browser": true
},
"settings": {
"import/resolver": {
"webpack": {
"config": "./webpack/webpack.config.dev.js"
}
}
},
"globals": {
"config": true
}
}