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