| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d5943a2 commit 9cb330b
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,144 @@ | |||
| 1 | + { | ||
| 2 | + // Whether the scan should stop on first error. | ||
| 3 | + "passfail": false, | ||
| 4 | + // Maximum errors before stopping. | ||
| 5 | + "maxerr": 100, | ||
| 6 | + | ||
| 7 | + | ||
| 8 | + // Predefined globals | ||
| 9 | + | ||
| 10 | + // Whether the standard browser globals should be predefined. | ||
| 11 | + "browser": true, | ||
| 12 | + // Whether the Node.js environment globals should be predefined. | ||
| 13 | + "node": true, | ||
| 14 | + // Whether the Rhino environment globals should be predefined. | ||
| 15 | + "rhino": false, | ||
| 16 | + // Whether CouchDB globals should be predefined. | ||
| 17 | + "couch": false, | ||
| 18 | + // Whether the Windows Scripting Host environment globals should be predefined. | ||
| 19 | + "wsh": false, | ||
| 20 | + | ||
| 21 | + // Whether jQuery globals should be predefined. | ||
| 22 | + "jquery": false, | ||
| 23 | + // Whether Prototype and Scriptaculous globals should be predefined. | ||
| 24 | + "prototypejs": false, | ||
| 25 | + // Whether MooTools globals should be predefined. | ||
| 26 | + "mootools": false, | ||
| 27 | + // Whether Dojo Toolkit globals should be predefined. | ||
| 28 | + "dojo": false, | ||
| 29 | + | ||
| 30 | + // Custom predefined globals. | ||
| 31 | + "predef": ["Backbone", "__devenv", "resourceRoot"], | ||
| 32 | + | ||
| 33 | + // Development | ||
| 34 | + | ||
| 35 | + // Whether debugger statements should be allowed. | ||
| 36 | + "debug": false, | ||
| 37 | + // Whether logging globals should be predefined (console, alert, etc.). | ||
| 38 | + "devel": false, | ||
| 39 | + | ||
| 40 | + | ||
| 41 | + // ECMAScript 5 | ||
| 42 | + | ||
| 43 | + // Whether ES5 syntax should be allowed. | ||
| 44 | + "es5": true, | ||
| 45 | + // Whether the "use strict"; pragma should be required. | ||
| 46 | + "strict": true, | ||
| 47 | + // Whether global "use strict"; should be allowed (also enables strict). | ||
| 48 | + "globalstrict": false, | ||
| 49 | + | ||
| 50 | + | ||
| 51 | + // The Good Parts | ||
| 52 | + | ||
| 53 | + // Whether automatic semicolon insertion should be allowed. | ||
| 54 | + "asi": false, | ||
| 55 | + // Whether line breaks should not be checked, e.g. `return [\n] x`. | ||
| 56 | + "laxbreak": false, | ||
| 57 | + // Whether bitwise operators (&, |, ^, etc.) should be forbidden. | ||
| 58 | + "bitwise": false, | ||
| 59 | + // Whether assignments inside `if`, `for` and `while` should be allowed. Usually | ||
| 60 | + // conditions and loops are for comparison, not assignments. | ||
| 61 | + "boss": true, | ||
| 62 | + // Whether curly braces around all blocks should be required. | ||
| 63 | + "curly": true, | ||
| 64 | + // Whether `===` and `!==` should be required (instead of `==` and `!=`). | ||
| 65 | + "eqeqeq": true, | ||
| 66 | + // Whether `== null` comparisons should be allowed, even if `eqeqeq` is `true`. | ||
| 67 | + "eqnull": false, | ||
| 68 | + // Whether `eval` should be allowed. | ||
| 69 | + "evil": false, | ||
| 70 | + // Whether ExpressionStatement should be allowed as Programs. | ||
| 71 | + "expr": true, | ||
| 72 | + // Whether `for in` loops must filter with `hasOwnPrototype`. | ||
| 73 | + "forin": false, | ||
| 74 | + // Whether immediate invocations must be wrapped in parens, e.g. | ||
| 75 | + // `( function(){}() );`. | ||
| 76 | + "immed": true, | ||
| 77 | + // Whether use before define should be forbidden. | ||
| 78 | + "latedef": false, | ||
| 79 | + // Whether functions should be allowed to be defined within loops. | ||
| 80 | + "loopfunc": false, | ||
| 81 | + // Whether arguments.caller and arguments.callee should be forbidden. | ||
| 82 | + "noarg": false, | ||
| 83 | + // Whether `.` should be forbidden in regexp literals. | ||
| 84 | + "regexp": false, | ||
| 85 | + // Whether unescaped first/last dash (-) inside brackets in regexps should be allowed. | ||
| 86 | + "regexdash": false, | ||
| 87 | + // Whether script-targeted URLs should be allowed. | ||
| 88 | + "scripturl": false, | ||
| 89 | + // Whether variable shadowing should be allowed. | ||
| 90 | + "shadow": false, | ||
| 91 | + // Whether `new function () { ... };` and `new Object;` should be allowed. | ||
| 92 | + "supernew": false, | ||
| 93 | + // Whether variables must be declared before used. | ||
| 94 | + "undef": true, | ||
| 95 | + // Whether `this` inside a non-constructor function should be allowed. | ||
| 96 | + "validthis": false, | ||
| 97 | + // Whether smarttabs should be allowed | ||
| 98 | + // (http://www.emacswiki.org/emacs/SmartTabs). | ||
| 99 | + "smarttabs": true, | ||
| 100 | + // Whether the `__proto__` property should be allowed. | ||
| 101 | + "proto": false, | ||
| 102 | + // Whether one-case switch statements should be allowed. | ||
| 103 | + "onecase": false, | ||
| 104 | + // Whether non-standard (but widely adopted) globals should be predefined. | ||
| 105 | + "nonstandard": false, | ||
| 106 | + // Allow multiline strings. | ||
| 107 | + "multistr": false, | ||
| 108 | + // Whether line breaks should not be checked around commas. | ||
| 109 | + "laxcomma": false, | ||
| 110 | + // Whether semicolons may be ommitted for the trailing statements inside of a | ||
| 111 | + // one-line blocks. | ||
| 112 | + "lastsemic": false, | ||
| 113 | + // Whether the `__iterator__` property should be allowed. | ||
| 114 | + "iterator": false, | ||
| 115 | + // Whether only function scope should be used for scope tests. | ||
| 116 | + "funcscope": false, | ||
| 117 | + // Whether es.next specific syntax should be allowed. | ||
| 118 | + "esnext": false, | ||
| 119 | + | ||
| 120 | + | ||
| 121 | + // Style preferences | ||
| 122 | + | ||
| 123 | + // Whether constructor names must be capitalized. | ||
| 124 | + "newcap": false, | ||
| 125 | + // Whether empty blocks should be forbidden. | ||
| 126 | + "noempty": false, | ||
| 127 | + // Whether using `new` for side-effects should be forbidden. | ||
| 128 | + "nonew": false, | ||
| 129 | + // Whether names should be checked for leading or trailing underscores | ||
| 130 | + // (object._attribute would be forbidden). | ||
| 131 | + "nomen": false, | ||
| 132 | + // Whether only one var statement per function should be allowed. | ||
| 133 | + "onevar": false, | ||
| 134 | + // Whether increment and decrement (`++` and `--`) should be forbidden. | ||
| 135 | + "plusplus": false, | ||
| 136 | + // Whether all forms of subscript notation are allowed. | ||
| 137 | + "sub": false, | ||
| 138 | + // Whether trailing whitespace rules apply. | ||
| 139 | + "trailing": false, | ||
| 140 | + // Whether strict whitespace rules apply. | ||
| 141 | + "white": false, | ||
| 142 | + // Specify indentation. | ||
| 143 | + "indent": 4 | ||
| 144 | + } | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments