You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"no-loop-func": 1, // disallow creation of functions within loops
100
+
"no-multi-spaces": 1, // disallow use of multiple spaces
101
+
"no-multi-str": 0, // disallow use of multiline strings
102
+
"no-native-reassign": 1, // disallow reassignments of native objects
103
+
"no-new": 1, // disallow use of new operator when not part of the assignment or comparison
104
+
"no-new-func": 0, // disallow use of new operator for Function object
105
+
"no-new-wrappers": 0, // disallows creating new instances of String, Number, and Boolean
106
+
"no-octal": 0, // disallow use of octal literals
107
+
"no-octal-escape": 0, // disallow use of octal escape sequences in string literals, such as var foo = "Copyright \251";
108
+
"no-process-env": 0, // disallow use of process.env (off by default)
109
+
"no-proto": 1, // disallow usage of __proto__ property
110
+
"no-redeclare": 1, // disallow declaring the same variable more then once
111
+
"no-return-assign": 1, // disallow use of assignment in return statement
112
+
"no-script-url": 1, // disallow use of javascript: urls.
113
+
"no-self-compare": 0, // disallow comparisons where both sides are exactly the same (off by default)
114
+
"no-sequences": 0, // disallow use of comma operator
115
+
"no-unused-expressions": 0, // disallow usage of expressions in statement position
116
+
"no-void": 0, // disallow use of void operator (off by default)
117
+
"no-warning-comments": 0, // disallow usage of configurable warning terms in comments, e.g. TODO or FIXME (off by default)
118
+
"no-with": 1, // disallow use of the with statement
119
+
"radix": 0, // require use of the second argument for parseInt() (off by default)
120
+
"vars-on-top": 0, // requires to declare all vars on top of their containing scope (off by default)
121
+
"wrap-iife": 0, // require immediate function invocation to be wrapped in parentheses (off by default)
122
+
"yoda": 0, // require or disallow Yoda conditions
123
+
124
+
125
+
////////// Strict Mode //////////
126
+
127
+
"global-strict": 0, // (deprecated) require or disallow the "use strict" pragma in the global scope (off by default in the node environment)
128
+
"no-extra-strict": 0, // (deprecated) disallow unnecessary use of "use strict"; when already in strict mode
129
+
"strict": 0, // controls location of Use Strict Directives
130
+
131
+
132
+
////////// Variables //////////
133
+
134
+
"no-catch-shadow": 1, // disallow the catch clause parameter name being the same as a variable in the outer scope (off by default in the node environment)
135
+
"no-delete-var": 1, // disallow deletion of variables
136
+
"no-label-var": 1, // disallow labels that share a name with a variable
137
+
"no-shadow": 1, // disallow declaration of variables already declared in the outer scope
138
+
"no-shadow-restricted-names": 0, // disallow shadowing of names such as arguments
139
+
"no-undef": 1, // disallow use of undeclared variables unless mentioned in a /*global */ block
140
+
"no-undef-init": 0, // disallow use of undefined when initializing variables
141
+
"no-undefined": 0, // disallow use of undefined variable (off by default)
142
+
"no-unused-vars": 1, // disallow declaration of variables that are not used in the code
143
+
"no-use-before-define": 1, // disallow use of variables before they are defined
144
+
145
+
146
+
////////// Node.js //////////
147
+
148
+
"handle-callback-err": 1, // enforces error handling in callbacks (off by default) (on by default in the node environment)
149
+
"no-mixed-requires": 1, // disallow mixing regular variable and require declarations (off by default) (on by default in the node environment)
150
+
"no-new-require": 0, // disallow use of new operator with the require function (off by default) (on by default in the node environment)
151
+
"no-path-concat": 0, // disallow string concatenation with __dirname and __filename (off by default) (on by default in the node environment)
152
+
"no-process-exit": 0, // disallow process.exit() (on by default in the node environment)
153
+
"no-restricted-modules": 0, // restrict usage of specified node modules (off by default)
154
+
"no-sync": 1, // disallow use of synchronous methods (off by default)
155
+
156
+
157
+
////////// Stylistic Issues //////////
158
+
159
+
"brace-style": 0, // enforce one 1 brace style (off by default)
160
+
"camelcase": 0, // require camel case names
161
+
"comma-spacing": 0, // enforce spacing before and after comma
162
+
"comma-style": 0, // enforce one 1 comma style (off by default)
163
+
"consistent-this": 0, // enforces consistent naming when capturing the current execution context (off by default)
164
+
"eol-last": 0, // enforce newline at the end of file, with no multiple empty lines
165
+
"func-names": 0, // require function expressions to have a name (off by default)
166
+
"func-style": 0, // enforces use of function declarations or expressions (off by default)
167
+
"key-spacing": 0, // enforces spacing between keys and values in object literal properties
168
+
"max-nested-callbacks": 0, // specify the maximum depth callbacks can be nested (off by default)
169
+
"new-cap": 0, // require a capital letter for constructors
170
+
"new-parens": 0, // disallow the omission of parentheses when invoking a constructor with no arguments
171
+
"no-array-constructor": 0, // disallow use of the Array constructor
172
+
"no-inline-comments": 0, // disallow comments inline after code (off by default)
173
+
"no-lonely-if": 0, // disallow if as the only statement in an else block (off by default)
174
+
"no-mixed-spaces-and-tabs": 0, // disallow mixed spaces and tabs for indentation
175
+
"no-multiple-empty-lines": 0, // disallow multiple empty lines (off by default)
176
+
"no-nested-ternary": 0, // disallow nested ternary expressions (off by default)
177
+
"no-new-object": 0, // disallow use of the Object constructor
178
+
"no-space-before-semi": 0, // disallow space before semicolon
179
+
"no-spaced-func": 0, // disallow space between function identifier and application
180
+
"no-ternary": 0, // disallow the use of ternary operators (off by default)
181
+
"no-trailing-spaces": 0, // disallow trailing whitespace at the end of lines
182
+
"no-underscore-dangle": 0, // disallow dangling underscores in identifiers
183
+
"no-wrap-func": 0, // disallow wrapping of non-IIFE statements in parens
184
+
"one-var": 0, // allow just one var statement per function (off by default)
185
+
"operator-assignment": 0, // require assignment operator shorthand where possible or prohibit it entirely (off by default)
186
+
"padded-blocks": 0, // enforce padding within blocks (off by default)
187
+
"quote-props": 0, // require quotes around object literal property names (off by default)
188
+
"quotes": 0, // specify whether double or single quotes should be used
189
+
"semi": 0, // require or disallow use of semicolons instead of ASI
190
+
"sort-vars": 0, // sort variables within the same declaration block (off by default)
191
+
"space-after-function-name": 0, // require a space after function names (off by default)
192
+
"space-after-keywords": 0, // require a space after certain keywords (off by default)
193
+
"space-before-blocks": 0, // require or disallow space before blocks (off by default)
194
+
"space-in-brackets": 0, // require or disallow spaces inside brackets (off by default)
195
+
"space-in-parens": 0, // require or disallow spaces inside parentheses (off by default)
196
+
"space-infix-ops": 0, // require spaces around operators
197
+
"space-return-throw-case": 0, // require a space after return, throw, and case
198
+
"space-unary-ops": 0, // Require or disallow spaces before/after unary operators (words on by default, nonwords off by default)
199
+
"spaced-line-comment": 0, // require or disallow a space immediately following the // in a line comment (off by default)
200
+
"wrap-regex": 0, // require regex literals to be wrapped in parentheses (off by default)
201
+
202
+
203
+
////////// ECMAScript 6 //////////
204
+
205
+
"no-var": 0, // require let or const instead of var (off by default)
206
+
"generator-star": 0, // enforce the position of the * in generator functions (off by default)
207
+
208
+
209
+
////////// Legacy //////////
210
+
211
+
"max-depth": 0, // specify the maximum depth that blocks can be nested (off by default)
212
+
"max-len": 0, // specify the maximum length of a line in your program (off by default)
213
+
"max-params": 0, // limits the number of parameters that can be used in the function declaration. (off by default)
214
+
"max-statements": 0, // specify the maximum number of statement allowed in a function (off by default)
215
+
"no-bitwise": 0, // disallow use of bitwise operators (off by default)
216
+
"no-plusplus": 0 // disallow use of unary operators, ++ and -- (off by default)
0 commit comments