forked from webcompat/webcompat.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
39 lines (39 loc) · 743 Bytes
/
.eslintrc.json
File metadata and controls
39 lines (39 loc) · 743 Bytes
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
{
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module"
},
"env": {
"browser": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"plugins" : [
"prettier"
],
"globals": {
"_": true,
"Backbone": true,
"console": true,
"ga": true,
"intern": true,
"module": true,
"Promise": true,
"require": true,
"WindowHelpers": true,
"__dirname": true
},
"rules": {
"eqeqeq": [2, "smart"],
"new-cap": 2,
"no-cond-assign": 0,
"no-redeclare": ["error", { "builtinGlobals": false }],
"no-prototype-builtins": "off",
"no-use-before-define": 2,
"one-var": [2, "never"],
"prettier/prettier": "error",
"no-unused-vars": "off"
}
}