v13.1.0
Minor Changes
-
Adds no-fallthrough as an error. (#135)
This disallows fallthrough of case statements in switch statements.Examples
You need to add a
break,returnorthrowto each case. You can also skip this rule if it is intentionally absent (however that is a rare scenario).switch (name) { case 'John': console.log('Hi John'); + break; }
Patch Changes
-
Disable
@typescript-eslint/consistent-type-definitionrule (#139) -
Revert from
@finsit/eslint-plugin-cypressback toeslint-plugin-cypressThe official plugin now supports ESLint v8. Consumers that were overriding
@finsit/cypress/*rules will need to overridecypress/*rules instead.