-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 1.21 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
43
44
45
46
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"extends": "airbnb",
"rules": {
"linebreak-style": 0,
"no-debugger": 0,
"no-alert": 0,
"no-console": 0,
"react/forbid-prop-types": 0,
"no-useless-return": 0,
"jsx-a11y/no-static-element-interactions": 0,
"no-useless-escape": 0,
"react/no-find-dom-node": 0,
"no-param-reassign": 0,
"max-len": 0,
"comma-dangle": ["off"],
"no-unused-vars": ["warn"],
"object-curly-spacing": ["off"],
"padded-blocks": ["off"],
"react/jsx-closing-bracket-location": ["off"],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-space-before-closing": ["off"],
"react/prefer-stateless-function": ["off"],
"no-underscore-dangle": [ "error", { "allowAfterThis": true }],
"import/no-unresolved": ["error", {
"ignore": [
"components/",
"config/",
"containers/",
"locale",
"redux_flow/",
"static/",
"theme/",
"utils/"
]
}],
"import/no-extraneous-dependencies": ["off"],
"import/extensions": "off",
"global-require": "off"
}
}