[no-fallthrough] Lint rule needs type information to avoid false positives e.g. nested switch #3455
Open
3 tasks done
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
enhancement: new base rule extension
New base rule extension required to handle a TS specific case
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No lint error
Actual Result
Lint error (see comment)
Additional Info
I think the TS ESLint plugin needs to provide its own version of
no-fallthrough
in order to take advantage of type information so we can avoid false positives such as this.Versions
@typescript-eslint/eslint-plugin
@typescript-eslint/parser
TypeScript
ESLint
node
The text was updated successfully, but these errors were encountered: