forked from webcompat/webcompat.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
46 lines (46 loc) · 849 Bytes
/
.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
{
"parserOptions": {
"ecmaVersion": 6
},
"env": {
"browser": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"plugins" : [
"prettier"
],
"globals": {
"jQuery": true,
"$": true,
"_": true,
"Backbone": true,
"console": true,
"define": true,
"ga": true,
"markdownitEmoji": true,
"markdownitSanitizer": true,
"md": true,
"module": true,
"moment": true,
"MarkdownSanitizerMixin": true,
"Mousetrap": true,
"PaginationMixin": true,
"Prism": true,
"Promise": true,
"require": true,
"wcEvents": true,
"wcTmpl": true,
"WindowHelpers": true
},
"rules": {
"eqeqeq": [2, "smart"],
"new-cap": 2,
"no-cond-assign": 0,
"no-use-before-define": 2,
"one-var": [2, "never"],
"prettier/prettier": "error"
}
}