forked from OscarGodson/EpicEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jshintrc
82 lines (81 loc) · 5.04 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"asi" : true // if automatic semicolon insertion should be tolerated
, "bitwise" : true // if bitwise operators should not be allowed
, "boss" : true // if advanced usage of assignments should be allowed
, "browser" : true // if the standard browser globals should be predefined
, "couch" : false // if CouchDB globals should be predefined
, "curly" : true // 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" : false // if eval should be allowed
, "expr" : false // if ExpressionStatement should be allowed as Programs
, "forin" : true // if for in statements must filter
, "funcscope" : false // 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" : true // if semicolons may be ommitted for the trailing statements inside of a one-line blocks.
, "latedef" : true // if the use before definition should not be tolerated
, "laxbreak" : false // if line breaks should not be checked
, "laxcomma" : true // if line breaks should not be checked around commas
, "loopfunc" : true // if functions should be allowed to be defined within loops
, "mootools" : false // if MooTools globals should be predefined
, "multistr" : false // allow multiline strings
, "newcap" : true // if constructor names must be capitalized
, "noarg" : true // if arguments.caller and arguments.callee should be disallowed
, "node" : true // if the Node.js environment globals should be predefined
, "noempty" : false // if empty blocks should be disallowed
, "nonew" : true // if using `new` for side-effects should be disallowed
, "nonstandard" : true // if non-standard (but widely adopted) globals should be predefined
, "nomen" : false // if names should be checked
, "onecase" : true // if one case switch statements should be allowed
, "onevar" : false // if only one var statement per function 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" : false // 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" : true // 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" : false // if smarttabs should be tolerated (http://www.emacswiki.org/emacs/SmartTabs)
, "strict" : false // require the "use strict"; pragma
, "sub" : true // if all forms of subscript notation are tolerated
, "supernew" : false // if `new function () { ... };` and `new Object;` should be tolerated
, "trailing" : true // if trailing whitespace rules apply
, "validthis" : true // if 'this' inside a non-constructor function is valid. This is a function scoped option only.
, "white" : true // if strict whitespace rules apply
, "wsh" : false // if the Windows Scripting Host environment globals should be predefined
, "indent" : 2
, "predef" :
[ "EpicEditor"
, "marked"
// Jake
, "jake"
, "desc"
, "task"
, "complete"
, "fail"
, "namespace"
// Mocha
, "mocha"
, "describe"
, "expect"
, "before"
, "beforeEach"
, "after"
, "afterEach"
, "it"
, "be"
, "throwError"
, "match"
]
}