forked from webcompat/webcompat.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
48 lines (48 loc) · 1.01 KB
/
.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
43
44
45
46
47
48
{
"env": {
"browser": true
},
"extends": "eslint:recommended",
"globals": {
jQuery: true,
$: true,
_: true,
Backbone: true,
console: true,
define: true,
issueNumber: true,
markdownitEmoji: true,
markdownitSanitizer: true,
md: true,
module: true,
moment: true,
Mousetrap: true,
PaginationMixin: true,
Prism: true,
qr: true,
repoPath: true,
require: true,
wcEvents: true
},
"rules": {
"comma-dangle": 0,
"curly": [2, "all"],
"eqeqeq": [2, "smart"],
"indent": [2, 2],
"linebreak-style": [2, "unix"],
"new-cap": 2,
"no-cond-assign": 0,
"no-spaced-func": 2,
"no-use-before-define": 2,
"one-var": [2, "never"],
"quotes": [2, "single"],
"semi": [2, "always"],
"space-after-keywords": 2,
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-before-keywords": [2, "always"],
"space-infix-ops": 2,
"space-return-throw-case": 2,
"space-unary-ops": 2
}
}