@@ -44,9 +44,11 @@ rules: # http://eslint.org/docs/rules/
44
44
no-prototype-builtins : 0 # Disallow use of `Object.prototypes` builtins directly
45
45
no-regex-spaces : 2 # disallow multiple spaces in regular expression literals
46
46
no-sparse-arrays : 2 # disallow sparse arrays
47
+ no-template-curly-in-string : 1 # disallow template literal placeholder syntax in regular strings
47
48
no-unexpected-multiline : 2 # disallow confusing multiline expressions
48
49
no-unreachable : 2 # disallow unreachable code after `return`, `throw`, `continue`, and `break` statements
49
50
no-unsafe-finally : 1 # disallow control flow statements in `finally` blocks
51
+ no-unsafe-negation : 2 # disallow negating the left operand of relational operators
50
52
use-isnan : 2 # require calls to `isNaN()` when checking for NaN
51
53
valid-jsdoc : 0 # enforce valid JSDoc comments
52
54
valid-typeof : 2 # enforce comparing `typeof` expressions against valid strings
@@ -77,6 +79,7 @@ rules: # http://eslint.org/docs/rules/
77
79
no-extra-label : 1 # disallow unnecessary labels
78
80
no-fallthrough : 1 # disallow fallthrough of `case` statements
79
81
no-floating-decimal : 1 # disallow leading or trailing decimal points in numeric literals
82
+ no-global-assign : 1 # disallow assignments to native objects or read-only global variables
80
83
no-implicit-coercion : 0 # disallow shorthand type conversions
81
84
no-implicit-globals : 0 # disallow `var` and named `function` declarations in the global scope
82
85
no-implied-eval : 1 # disallow the use of `eval()`-like methods
@@ -100,7 +103,7 @@ rules: # http://eslint.org/docs/rules/
100
103
no-redeclare : [1, {builtinGlobals: true}] # disallow `var` redeclaration
101
104
no-return-assign : [1, 'always'] # disallow assignment operators in `return` statements
102
105
no-script-url : 2 # disallow `javascript` urls
103
- no-self-assign : 2 # disallow assignments where both sides are exactly the same
106
+ no-self-assign : [2, {props: true}] # disallow assignments where both sides are exactly the same
104
107
no-self-compare : 2 # disallow comparisons where both sides are exactly the same
105
108
no-sequences : 1 # disallow comma operators
106
109
no-throw-literal : 1 # disallow throwing literals as exceptions
@@ -157,6 +160,7 @@ rules: # http://eslint.org/docs/rules/
157
160
computed-property-spacing : 0 # enforce consistent spacing inside computed property brackets
158
161
consistent-this : 0 # enforce consistent naming when capturing the current execution context
159
162
eol-last : 1 # enforce at least one newline at the end of files
163
+ func-call-spacing : 1 # require or disallow spacing between `function` identifiers and their invocations
160
164
func-names : 0 # enforce named `function` expressions
161
165
func-style : 0 # enforce the consistent use of either `function` declarations or expressions
162
166
id-blacklist : 0 # disallow specified identifiers
@@ -213,6 +217,7 @@ rules: # http://eslint.org/docs/rules/
213
217
require-jsdoc : 0 # require JSDoc comments
214
218
semi : [0, 'always'] # require or disallow semicolons instead of ASI
215
219
semi-spacing : 0 # enforce consistent spacing before and after semicolons
220
+ sort-keys : 0 # requires object keys to be sorted
216
221
sort-vars : 0 # require variables within the same declaration block to be sorted
217
222
space-before-blocks : 0 # enforce consistent spacing before blocks
218
223
space-before-function-paren : 0 # enforce consistent spacing before `function` definition opening parenthesis
0 commit comments