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

Fix unnecessary types #226

Merged
merged 2 commits into from
Aug 9, 2024
Merged

Fix unnecessary types #226

merged 2 commits into from
Aug 9, 2024

Commits on Aug 9, 2024

  1. Added no-inferrable-types eslint rule

    This prevents `const a: number = 123` and enforces `const a = 123`
    Timothy-Gonzalez committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    7d8c4b2 View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary types

    Types can be inferred most of the time, and adding them when already
    explicit is redundant.
    Timothy-Gonzalez committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    f041324 View commit details
    Browse the repository at this point in the history