forked from webcompat/webcompat-reporter-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 958 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
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:prettier/recommended"
],
"globals": {
"browser": true,
"chrome": true,
"intern": true,
"module": true
},
"rules": {
"comma-dangle": 0,
"curly": [2, "all"],
"eol-last": "error",
"eqeqeq": [2, "smart"],
"indent": [2, 2, { "SwitchCase": 1 }],
"keyword-spacing": 2,
"linebreak-style": [2, "unix"],
"new-cap": [2, {"newIsCap": true, "capIsNew": false}],
"no-cond-assign": 0,
"no-spaced-func": 2,
"no-use-before-define": 2,
"no-unused-vars": ["error", { "args": "none" }],
"no-useless-concat": "error",
"one-var": [2, "never"],
"prefer-template": "error",
"quotes": ["error", "double"],
"semi": [2, "always"],
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": 2
}
}