forked from darkmavis1980/react-jest-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
44 lines (44 loc) · 816 Bytes
/
.eslintrc.js
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
module.exports = {
"extends": [
"airbnb-base",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"settings": {
"react": {
"version": "16"
}
},
"rules": {
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"max-len": [1, 200],
"no-console": 1,
"new-cap": 0,
"comma-dangle": 0,
"object-curly-spacing": 0,
"quotes": 0,
"indent": ["warn", 2],
"arrow-parens": ["error", "as-needed"],
"class-methods-use-this": 0
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
window: true,
document: true,
jQuery: false,
$: false,
moment: false,
location: true,
_: false,
MODULE_MAP: true,
System: false,
T: true,
localStorage: true
}
};