forked from resource-watch/resource-watch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
49 lines (49 loc) · 1010 Bytes
/
.eslintrc.json
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,
"Transifex": true
},
"extends": "vizzuality",
"rules": {
"class-methods-use-this": 0,
"import/prefer-default-export": 0,
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"import/named": 0,
"react/prefer-stateless-function": 0,
"react/jsx-filename-extension": 0,
"linebreak-style": 0,
"no-plusplus": 0,
"jsx-a11y/href-no-hash": 0,
"jsx-a11y/anchor-is-valid": 0,
"no-underscore-dangle": 0,
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"babel",
"react-hooks"
],
"settings": {
"import/resolver": {
"babel-module": {
}
}
}
}