Skip to content
Newer
Older
100644 42 lines (39 sloc) 2.48 KB
38b6f6b @orlandov Update modules
orlandov authored
1 {
2 "asi": true,
3 "adsafe": false, // if ADsafe should be enforced
4 "bitwise": true, // if bitwise operators should not be allowed
5 "browser": false, // if the standard browser globals should be predefined
6 "cap": false, // if upper case HTML should be allowed
7 "css": false, // if CSS workarounds should be tolerated
8 "debug": false, // if debugger statements should be allowed
9 "devel": false, // if logging should be allowed (console, alert, etc.)
10 "eqeqeq": true, // if === should be required
11 "es5": true, // if ES5 syntax should be allowed
12 "evil": false, // if eval should be allowed
13 "forin": false, // if for in statements must filter
14 "fragment": false, // if HTML fragments should be allowed
15 "immed": true, // if immediate invocations must be wrapped in parens
16 "laxbreak": true, // if line breaks should not be checked
17 "newcap": true, // if constructor names must be capitalized
18 "nomen": false, // if names should be checked
19 "on": false, // if HTML event handlers should be allowed
20 "onevar": false, // if only one var statement per function should be allowed
21 "passfail": false, // if the scan should stop on first error
22 "plusplus": false, // if increment/decrement should not be allowed
23 "regexp": true, // if the . should not be allowed in regexp literals
24 "rhino": false, // if the Rhino environment globals should be predefined
25 "undef": true, // if variables should be declared before used
26 "safe": false, // if use of some browser features should be restricted
27 "windows": false, // if MS Windows-specific globals should be predefined
28 "strict": false, // require the "use strict"; pragma
29 "sub": false, // if all forms of subscript notation are tolerated
30 "white": false, // if strict whitespace rules apply
31 "widget": false, // if the Yahoo Widgets globals should be predefined
32 "indent": 0, // set the expected indentation level
33 "maxlen": 80, // maximum line length
34 "regexp": false, // don't complain about insecure regexps
35 "curly": true, // require curlies around one-line blocks
36
37 // the names of predefined global variables: the following are defined by nodejs itself
38 "predef": ["exports", "module", "require", "process", "__filename", "__dirname", "global", "console", "setInterval", "setTimeout", "clearInterval", "clearTimeout"],
39
40 "nodejs": true
41 }
Something went wrong with that request. Please try again.