-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
35 lines (35 loc) · 1018 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
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"airbnb/base",
"./node_modules/aurelia-tools/.eslintrc.json"
],
"globals": {
"describe": false,
"expect": false,
"it": false
},
"parser": "babel-eslint",
"rules": {
"new-cap": ["error", { "capIsNew": false }],
"class-methods-use-this": 0,
"function-paren-newline": 0,
"import/no-extraneous-dependencies": 0,
"import/prefer-default-export": 0,
"import/extensions": 0,
"import/no-unresolved": 0,
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-console": ["error", { "allow": ["warn", "error"] }],
"no-mixed-operators": ["error", { "allowSamePrecedence": true }],
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"no-restricted-globals": 0,
"no-undef": ["error"],
"object-curly-newline": 0,
"prefer-destructuring": 0,
"space-before-function-paren": ["error", "always"]
}
}