@@ -40,6 +40,8 @@ const base = {
40
40
'no-class-assign' : ERROR ,
41
41
// disallow comparing against -0
42
42
'no-compare-neg-zero' : ERROR ,
43
+ // disallow reassigning `const` variables
44
+ 'no-const-assign' : ERROR ,
43
45
// disallows expressions where the operation doesn't affect the value
44
46
'no-constant-binary-expression' : ERROR ,
45
47
// disallow constant expressions in conditions
@@ -86,8 +88,12 @@ const base = {
86
88
'no-template-curly-in-string' : ERROR ,
87
89
// disallow `this` / `super` before calling `super()` in constructors
88
90
'no-this-before-super' : ERROR ,
91
+ // disallow unmodified loop conditions
92
+ 'no-unmodified-loop-condition' : ERROR ,
89
93
// disallow use of undeclared variables unless mentioned in a /*global */ block
90
94
'no-undef' : [ ERROR ] ,
95
+ // disallow control flow statements in `finally` blocks
96
+ 'no-unsafe-finally' : ERROR ,
91
97
// avoid code that looks like two expressions but is actually one
92
98
'no-unexpected-multiline' : ERROR ,
93
99
// disallow unreachable statements after a return, throw, continue, or break statement
0 commit comments