forked from webcompat/webcompat.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 998 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
43
44
45
{
"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,
"repoPath": true,
"require": true,
"wcEvents": true
},
"rules": {
"comma-dangle": 0,
"curly": [2, "all"],
"eqeqeq": [2, "smart"],
"indent": [2, 2, { "SwitchCase": 1 }],
"keyword-spacing": 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-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": 2
}
}