Patterns
No Assign Then Return
Disallow assigning to a const variable and immediately returning it when the expression can be returned directly.
No Await In Loop
Disallow await inside loops so sequential calls that should be parallelized with Promise.all are caught early.
No Boolean Var For If
Disallow extracting a multi-condition boolean into a single-use variable for the next if-statement.
No Bracket Assignment
Disallow bracket notation assignment and encourage Reflect.set for dynamic property writes on objects.
No Bracket Method Call
Disallow calling methods via bracket notation with a static string key when dot notation is available.
No Template Curly in String
Disallow template literal placeholder syntax in regular strings so missing backticks are caught before the expression appears literally in output.
No Use Before Define
Disallow use of variables, constants, functions, classes, and types before they are defined.