-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
55 lines (55 loc) · 1.15 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
53
54
55
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {}
},
"env": {
"browser": true,
"node": true,
"jasmine": true,
"protractor": true,
"es6": true
},
"extends": ["airbnb-base", "prettier", "plugin:react/recommended"],
"globals": {
"ol": true,
"storytools": true,
"angular": true,
"inject": true,
"toastr": true,
"goog": true
},
"plugins": [
"import",
"prettier",
"react"
],
"rules": {
"camelcase": ["error", {
"properties": "always"
}],
"import/extensions": "off",
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "off",
"indent": ["error", 2],
"no-bitwise": ["error", {
"int32Hint": true
}],
"no-param-reassign": "off",
"no-plusplus": ["error", {
"allowForLoopAfterthoughts": true
}],
"no-unused-vars": ["error", {
"args": "none"
}],
"one-var": "off",
"prefer-destructuring": "off",
"prettier/prettier": "off",
"quotes": ["error", "double", {
"allowTemplateLiterals": true,
"avoidEscape": true
}]
}
}