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
,return
orthrow
to 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-definition
rule (#139) -
Revert from
@finsit/eslint-plugin-cypress
back toeslint-plugin-cypress
The official plugin now supports ESLint v8. Consumers that were overriding
@finsit/cypress/*
rules will need to overridecypress/*
rules instead.