-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 952 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
40
41
42
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"browser": 1,
"jasmine": 1
},
"globals": {
"angular": 1,
"inject": 1,
"musicamiaMocks": 1
},
"extends": "google",
"rules": {
"no-console": 0,
"comma-dangle": ["error", "never"],
"no-nested-ternary": 0,
"func-names": 0,
"semi": "error",
"padded-blocks": 0,
"spaced-comment": 0,
"valid-jsdoc": 0,
"require-jsdoc": 0,
"arrow-parens": ["error", "always"],
"space-before-blocks": ["error", {
"functions": "never",
"keywords": "never",
"classes": "always"
}],
"one-var": ["error", {
"var": "always",
"let": "never",
"const": "never"
}],
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
"object-curly-spacing": ["error", "always"],
"quotes": ["error", "single"],
"quote-props": ["error", "as-needed"]
}
}