-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
documentationDocumentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.team assignedA member of the typescript-eslint team should work on this.A member of the typescript-eslint team should work on this.
Description
Overview
One of the biggest user requests I see in the wild for typescript-eslint is banning any
s from sneaking into the codebase. We have a suite of rules:
@typescript-eslint/no-unsafe-argument
@typescript-eslint/no-unsafe-assignment
@typescript-eslint/no-unsafe-call
@typescript-eslint/no-unsafe-member-access
@typescript-eslint/no-unsafe-return
I'd like to write a blog post explaining:
- Why you'd want to ban
any
even withnoImplicitAny
enabled - Why
unknown
is a better alternative - How each of those rules helps
rubiesonthesky, Zamiell and JasonWeinzierl
Metadata
Metadata
Assignees
Labels
documentationDocumentation ("docs") that needs adding/updatingDocumentation ("docs") that needs adding/updatinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.team assignedA member of the typescript-eslint team should work on this.A member of the typescript-eslint team should work on this.