-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.eslintrc
41 lines (36 loc) · 903 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
40
41
{
"parser": "babel-eslint",
"extends":"airbnb",
"rules":{
"comma-dangle": ["off"],
"import/extensions": 0,
"no-unused-vars": ["warn"],
"object-curly-spacing": ["off"],
"padded-blocks": ["off"],
"linebreak-style": [0, "windows"],
"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": [
"config",
"components/",
"stores/",
"actions/",
"sources/",
"styles/",
"images/"
]
}]
},
"env":{
"browser":true,
"node":true,
"mocha":true,
"es6":true
},
"plugins": ["react"],
"ecmaFeatures": { "jsx": true }
}