Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / multiparty / .jshintrc
1 {
2     // Settings
3     "passfail"      : false,  // Stop on first error.
4     "maxerr"        : 100,    // Maximum errors before stopping.
5
6
7     // Predefined globals whom JSHint will ignore.
8     "browser"       : false,   // Standard browser globals e.g. `window`, `document`.
9
10     "node"          : true,
11     "rhino"         : false,
12     "couch"         : false,
13     "wsh"           : false,   // Windows Scripting Host.
14
15     "jquery"        : false,
16     "prototypejs"   : false,
17     "mootools"      : false,
18     "dojo"          : false,
19
20
21     "predef"     : [
22       "describe", "it", "before", "after"
23     ],
24
25     // Development.
26     "debug"         : true,   // Allow debugger statements e.g. browser breakpoints.
27     "devel"         : true,   // Allow development statements e.g. `console.log();`.
28
29
30     // EcmaScript 5.
31     "es5"           : true,   // Allow EcmaScript 5 syntax.
32     "strict"        : false,  // Require `use strict` pragma in every file.
33     "globalstrict"  : true,   // Allow global "use strict" (also enables 'strict').
34
35
36     // The Good Parts.
37     "asi"           : true,  // Tolerate Automatic Semicolon Insertion (no semicolons).
38     "laxbreak"      : false,   // Tolerate unsafe line breaks e.g. `return [\n] x` without semicolons.
39     "laxcomma"      : true,
40     "bitwise"       : false,   // Prohibit bitwise operators (&, |, ^, etc.).
41     "boss"          : true,  // Tolerate assignments inside if, for & while. Usually conditions & loops are for comparison, not assignments.
42     "curly"         : false,  // Require {} for every new block or scope.
43     "eqeqeq"        : true,   // Require triple equals i.e. `===`.
44     "eqnull"        : true,  // Tolerate use of `== null`.
45     "evil"          : false,  // Tolerate use of `eval`.
46     "expr"          : false,  // Tolerate `ExpressionStatement` as Programs.
47     "forin"         : false,  // Prohibt `for in` loops without `hasOwnProperty`.
48     "immed"         : true,   // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
49     "latedef"       : false,   // Prohibit variable use before definition.
50     "loopfunc"      : false,  // Allow functions to be defined within loops.
51     "noarg"         : true,   // Prohibit use of `arguments.caller` and `arguments.callee`.
52     "regexp"        : false,   // Prohibit `.` and `[^...]` in regular expressions.
53     "regexdash"     : false,  // Tolerate unescaped last dash i.e. `[-...]`.
54     "scripturl"     : false,   // Tolerate script-targeted URLs.
55     "shadow"        : false,  // Allows re-define variables later in code e.g. `var x=1; x=2;`.
56     "supernew"      : false,  // Tolerate `new function () { ... };` and `new Object;`.
57     "undef"         : true,   // Require all non-global variables be declared before they are used.
58
59
60     // Persone styling prefrences.
61     "newcap"        : true,   // Require capitalization of all constructor functions e.g. `new F()`.
62     "noempty"       : true,   // Prohibit use of empty blocks.
63     "nonew"         : true,   // Prohibit use of constructors for side-effects.
64     "nomen"         : false,  // Prohibit use of initial or trailing underbars in names.
65     "onevar"        : false,  // Allow only one `var` statement per function.
66     "plusplus"      : false,  // Prohibit use of `++` & `--`.
67     "sub"           : false,   // Tolerate all forms of subscript notation besides dot notation e.g. `dict['key']` instead of `dict.key`.
68     "trailing"      : true,   // Prohibit trailing whitespaces.
69     "white"         : false   // Check against strict whitespace and indentation rules.
70 }