forked from akira-cn/sublime-v8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJSHINT.sublime-settings
71 lines (71 loc) · 5.19 KB
/
JSHINT.sublime-settings
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"asi" : true, // if automatic semicolon insertion should be tolerated
"bitwise" : false, // if bitwise operators should not be allowed
"boss" : true, // if advanced usage of assignments should be allowed
"browser" : false, // if the standard browser globals should be predefined
"couch" : false, // if CouchDB globals should be predefined
"curly" : false, // if curly braces around all blocks should be required
"debug" : false, // if debugger statements should be allowed
"devel" : false, // if logging globals should be predefined (console,
// alert, etc.)
"dojo" : false, // if Dojo Toolkit globals should be predefined
"eqeqeq" : false, // if === should be required
"eqnull" : true, // if == null comparisons should be tolerated
"es5" : false, // if ES5 syntax should be allowed
"esnext" : false, // if es.next specific syntax should be allowed
"evil" : true, // if eval should be allowed
"expr" : true, // if ExpressionStatement should be allowed as Programs
"forin" : false, // if for in statements must filter
"funcscope" : true, // if only function scope should be used for scope tests
"globalstrict": false, // if global "use strict"; should be allowed (also
// enables 'strict')
"immed" : false, // if immediate invocations must be wrapped in parens
"iterator" : false, // if the `__iterator__` property should be allowed
"jquery" : false, // if jQuery globals should be predefined
"lastsemic" : false, // if semicolons may be ommitted for the trailing
// statements inside of a one-line blocks.
"latedef" : false, // if the use before definition should not be tolerated
"laxbreak" : false, // if line breaks should not be checked
"loopfunc" : false, // if functions should be allowed to be defined within
// loops
"mootools" : false, // if MooTools globals should be predefined
"multistr" : true, // allow multiline strings
"newcap" : false, // if constructor names must be capitalized
"noarg" : false, // if arguments.caller and arguments.callee should be
// disallowed
"node" : false, // if the Node.js environment globals should be
// predefined
"noempty" : false, // if empty blocks should be disallowed
"nonew" : false, // if using `new` for side-effects should be disallowed
"nonstandard" : false, // if non-standard (but widely adopted) globals should
// be predefined
"nomen" : false, // if names should be checked
"onevar" : false, // if only one var statement per function should be
// allowed
"onecase" : false, // if one case switch statements should be allowed
"passfail" : false, // if the scan should stop on first error
"plusplus" : false, // if increment/decrement should not be allowed
"proto" : false, // if the `__proto__` property should be allowed
"prototypejs" : false, // if Prototype and Scriptaculous globals should be
// predefined
"regexdash" : true, // if unescaped first/last dash (-) inside brackets
// should be tolerated
"regexp" : false, // if the . should not be allowed in regexp literals
"rhino" : false, // if the Rhino environment globals should be predefined
"undef" : false, // if variables should be declared before used
"scripturl" : false, // if script-targeted URLs should be tolerated
"shadow" : false, // if variable shadowing should be tolerated
"smarttabs" : true, // if smarttabs should be tolerated
// (http://www.emacswiki.org/emacs/SmartTabs)
"strict" : false, // require the "use strict"; pragma
"sub" : false, // if all forms of subscript notation are tolerated
"supernew" : true, // if `new function () { ... };` and `new Object;`
// should be tolerated
"trailing" : false, // if trailing whitespace rules apply
"validthis" : true, // if 'this' inside a non-constructor function is valid.
// This is a function scoped option only.
"warnings" : true, // if the `warnings` should be shown
"white" : false, // if strict whitespace rules apply
"wsh" : false // if the Windows Scripting Host environment globals
// should be predefined
}