forked from Vizzuality/kenya-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
44 lines (44 loc) · 918 Bytes
/
.eslintrc
File metadata and controls
44 lines (44 loc) · 918 Bytes
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
{
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"globals": {
"L": true,
"config": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"extends": [
"vizzuality"
],
"plugins": [
"babel"
],
"settings": {
"import/resolver": {
"babel-module": {
}
}
},
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"no-unused-expressions": ["error", { "allowShortCircuit": true }],
"import/prefer-default-export": 0,
"no-return-assign": 0,
"comma-dangle": ["error", "never"],
"prefer-stateless-function": [0, { "ignorePureComponents": true }],
"arrow-body-style": 0,
"no-underscore-dangle": 0,
"class-methods-use-this": 0,
"react/no-array-index-key": 0
}
}