-
Notifications
You must be signed in to change notification settings - Fork 41
/
.eslintrc
39 lines (39 loc) · 1022 Bytes
/
.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
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"node": true,
"jasmine": true,
"protractor": true,
"es6": true
},
"extends": [ "airbnb-base", "prettier" ],
"globals": {
"ol": true,
"storytools": true,
"angular": true,
"inject": true,
"toastr": true,
"goog": true
},
"plugins": [
"prettier"
],
"rules": {
"camelcase": ["error", { "properties": "always" }],
"indent": ["error", 2],
"no-bitwise": ["error", { "int32Hint": true }],
"no-param-reassign": ["error", { "props": true, "ignorePropertyModificationsFor": ["scope", "$scope"] }],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-unused-vars": ["error", { "args": "none" }],
"prettier/prettier": "off",
"quotes": ["error", "double", { "allowTemplateLiterals": true, "avoidEscape": true }]
}
}