-
Notifications
You must be signed in to change notification settings - Fork 939
Expand file tree
/
Copy path.eslintrc.json
More file actions
42 lines (34 loc) · 875 Bytes
/
.eslintrc.json
File metadata and controls
42 lines (34 loc) · 875 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
40
41
42
{
"root": true,
"extends": "../.eslintrc-browser.json",
"env": {
// In source the browser env is not enabled but unit tests rely on them
// too much and we don't run them in non-browser environments anyway.
"browser": true,
"node": true
},
"globals": {
"Sizzle": true,
"require": false,
"QUnit": true,
"q": true,
"t": true,
"setup": true,
"testIframeWithCallback": true,
"createWithFriesXML": true
},
"rules": {
// See https://github.com/eslint/eslint/issues/2342
"no-unused-vars": "off",
// Too many errors
"max-len": "off",
"brace-style": "off",
"key-spacing": "off",
"camelcase": "off",
"strict": "off",
// Not really too many - waiting for autofix features for these rules
"lines-around-comment": "off",
// Turned off for compatibility with Google Closure Compiler's advanced mode
"dot-notation": "off"
}
}