forked from wikimedia/wikidata-query-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jshintrc
53 lines (51 loc) · 1.09 KB
/
.jshintrc
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
49
50
51
52
53
{
// When you change this file, then also change the file in wikibase/tests/.jshintrc
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"newcap": true,
"supernew": true,
"shadow": false,
"noarg": true,
"noempty": true,
"nonew": false, //TODO fix code to adhere
"quotmark": false, // sometimes double quotes make sense, e.g. "foo's" is better readable than 'foo\'s'
"trailing": true,
"undef": true,
"unused": "vars", // we want to allow unused function parameters
"laxbreak": true,
"laxcomma": false,
"onevar": false,
"bitwise": true,
"forin": false,
"regexp": true,
"strict": true,
"scripturl": true,
// Environment
"browser": true,
"globals": {
"jQuery": false,
"wikibase": true,
"CodeMirror": false,
"WikibaseRDFTooltip": false,
"download": false,
"EXPLORER": false,
"JSON": false,
"QUnit": false,
"sinon": false,
"L": false,
"CONFIG": true,
"d3": false,
"sparqljs": false,
"_": false,
"Cookies": false,
"vis": false,
"moment": false,
"dimple": false,
"wellknown": false,
"Map": false,
"MathJax": false
}
}