forked from patrickwroach/Omae2.1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 1.37 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"mocha": true
},
"extends": "airbnb",
"rules": {
"arrow-body-style": ["error", "always"],
"import/no-extraneous-dependencies": ["off", {"devDependencies": true, "optionalDependencies": true, "peerDependencies": true}],
"indent": ["error", "tab", { "ignoredNodes": ["JSXElement *"] }],
"max-len": ["off"],
"no-bitwise": ["error", { "allow": ["~"] }],
"no-eval": ["error", {"allowIndirect": true}],
"no-mixed-operators": ["error", {"allowSamePrecedence": true}],
"no-plusplus": ["off"],
"no-tabs": ["off"],
"no-unused-vars": ["warn"],
"object-curly-spacing": ["off"],
"one-var": ["off"],
"padded-blocks": ["off"],
"react/jsx-closing-bracket-location": ["off"],
"react/jsx-filename-extension": [1, { "extensions": [".js"] }],
"react/jsx-indent": [2, "tab"],
"react/jsx-indent-props": [2, "tab"],
"react/jsx-space-before-closing": ["off"],
"react/prefer-stateless-function": ["off"],
"no-underscore-dangle": [ "error", { "allowAfterThis": true }],
"import/no-unresolved": ["error", {
"ignore": [
"config",
"components/",
"containers/",
"stores/",
"actions/",
"sources/",
"styles/",
"images/",
"~",
"data"
]
}]
}
}