Use short variable declarations (:=) for variables with default values
Read more
Avoid ‘switch’ with too many ‘case’ statements
Read more
Variables should be declared with ‘let’ or ‘const’
Read more
Multiline string literals should not be used
Read more
Logical OR should not be used in switch cases
Read more
In switch ‘default’ clauses should be last
Read more
Avoid caching selector for long time
Read more