|
81 | 81 | "no-constant-condition": 0, // disallow use of constant expressions in conditions
|
82 | 82 | "no-control-regex": 1, // disallow control characters in regular expressions
|
83 | 83 | "no-debugger": 1, // disallow use of debugger
|
84 |
| - "no-dupe-keys": 1, // disallow duplicate keys when creating object literals |
| 84 | + "no-dupe-keys": 2, // disallow duplicate keys when creating object literals |
85 | 85 | "no-empty": 0, // disallow empty statements
|
86 | 86 | "no-ex-assign": 1, // disallow assigning to the exception in a catch block
|
87 | 87 | "no-extra-boolean-cast": 1, // disallow double-negation boolean casts in a boolean context
|
|
95 | 95 | "no-regex-spaces": 1, // disallow multiple spaces in a regular expression literal
|
96 | 96 | "no-reserved-keys": 0, // disallow reserved words being used as object literal keys (off by default)
|
97 | 97 | "no-sparse-arrays": 1, // disallow sparse arrays
|
98 |
| - "no-unreachable": 1, // disallow unreachable statements after a return, throw, continue, or break statement |
| 98 | + "no-unreachable": 2, // disallow unreachable statements after a return, throw, continue, or break statement |
99 | 99 | "use-isnan": 1, // disallow comparisons with the value NaN
|
100 | 100 | "valid-jsdoc": 0, // Ensure JSDoc comments are valid (off by default)
|
101 | 101 | "valid-typeof": 1, // Ensure that the results of typeof are compared against a valid string
|
|
116 | 116 | "no-div-regex": 1, // disallow division operators explicitly at beginning of regular expression (off by default)
|
117 | 117 | "no-else-return": 0, // disallow else after a return in an if (off by default)
|
118 | 118 | "no-eq-null": 0, // disallow comparisons to null without a type-checking operator (off by default)
|
119 |
| - "no-eval": 1, // disallow use of eval() |
| 119 | + "no-eval": 2, // disallow use of eval() |
120 | 120 | "no-extend-native": 1, // disallow adding to native types
|
121 | 121 | "no-extra-bind": 1, // disallow unnecessary function binding
|
122 | 122 | "no-fallthrough": 1, // disallow fallthrough of case statements
|
|
129 | 129 | "no-multi-str": 0, // disallow use of multiline strings
|
130 | 130 | "no-native-reassign": 0, // disallow reassignments of native objects
|
131 | 131 | "no-new": 1, // disallow use of new operator when not part of the assignment or comparison
|
132 |
| - "no-new-func": 1, // disallow use of new operator for Function object |
| 132 | + "no-new-func": 2, // disallow use of new operator for Function object |
133 | 133 | "no-new-wrappers": 1, // disallows creating new instances of String,Number, and Boolean
|
134 | 134 | "no-octal": 1, // disallow use of octal literals
|
135 | 135 | "no-octal-escape": 1, // disallow use of octal escape sequences in string literals, such as var foo = "Copyright \251";
|
|
0 commit comments