-
Notifications
You must be signed in to change notification settings - Fork 158
/
.eslintrc
52 lines (51 loc) · 1.1 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
47
48
49
50
51
52
{
"extends": "airbnb",
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"plugins": [
"react"
],
"settings" : {
"import/resolver": {
"node": {
"paths": ["src"]
}
}
},
"rules": { // 0=off, 1=warn, 2=error. Defaults to 0.
semi: [2, "never"],
"no-multi-spaces": [2, {
"exceptions": {
"VariableDeclaration": true,
"ImportDeclaration": true
}
}],
"comma-dangle": [2, "never"],
"key-spacing": [2, {
"singleLine": {
"beforeColon": false,
"afterColon": true
}
}],
"arrow-body-style": "off",
"react/jsx-filename-extension": [0, { "extensions": [".js"] }],
"import/no-extraneous-dependencies": [0, {"devDependencies": true}],
"react/prefer-stateless-function": "off",
"react/no-unused-prop-types": [2, {
skipShapeProps: false
}],
"import/prefer-default-export": "off",
"function-paren-newline": "off"
}
}