forked from bwinton/TabCenter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
48 lines (48 loc) · 1.33 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"plugins": [
"mozilla"
],
"globals": {
"Components": false,
"Services": false,
"Cc": false,
"Ci": false,
"TAB_DROP_TYPE": false,
"TabsInTitlebar": false
},
"rules": {
"mozilla/import-globals-from": 1,
"array-bracket-spacing": [2, "never"],
"camelcase": 0,
"comma-dangle": 0,
"comma-spacing": 2,
"computed-property-spacing": [2, "never"],
"curly": 2,
"default-case": 0,
"eqeqeq": [2, "smart"],
"generator-star-spacing": [2, {"before": false, "after": false}],
"id-blacklist": 0,
"indent": [2, 2],
"no-bitwise": 1,
"no-console": 1,
"no-empty-function": 0,
"no-magic-numbers": 0,
"no-mixed-spaces-and-tabs": [2, "smart-tabs"],
"no-shadow": 0,
"no-trailing-spaces": [2, {"skipBlankLines": false}],
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
"object-curly-spacing": [2, "never"],
"no-var": 2,
"prefer-const": 0,
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"space-infix-ops": 2,
"space-unary-ops": 2
}
}