Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn @typescript-eslint/no-explicit-any into error #10

Merged
merged 1 commit into from
Jun 28, 2022

Conversation

joao-paulo-parity
Copy link
Contributor

any is a less type-safe alternative to unknown (https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#new-unknown-top-type).

On most places any can be substituted for unknown without further changes. For use-cases where any specifically is necessary we can turn the rule off. https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-explicit-any.md#when-not-to-use-it.

any is a less type-safe alternative to unknown
@joao-paulo-parity joao-paulo-parity merged commit e116c69 into master Jun 28, 2022
@joao-paulo-parity joao-paulo-parity deleted the jp/no-explicit-any branch June 28, 2022 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants