forked from Vizzuality/aqueduct-water-risk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
49 lines (49 loc) · 1.12 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
{
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"globals": {
"L": true,
"config": true
},
"parserOptions": {
"ecmaVersion": 7,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"extends": "airbnb",
"rules": {
"no-console": ["error", {
"allow": ["warn", "error", "info"]
}],
"no-return-assign": 0,
"comma-dangle": ["error", "never"],
"max-len": 0,
"forbid-prop-types": [0, { "forbid": [""] }],
"prefer-stateless-function": [0, { "ignorePureComponents": true }],
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }],
"arrow-body-style": 0,
"no-underscore-dangle": 0,
"jsx-a11y/no-static-element-interactions": 0,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"import/no-dynamic-require": 0,
"react/forbid-prop-types": 0,
"react/prefer-stateless-function": 0
},
"settings": {
"import/resolver": {
"webpack": {
"config": "config/webpack.config.js"
}
}
}
}