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

Update ESLint Configuration to Address Deprecations #2496

Closed
chandel-aman opened this issue Sep 1, 2024 · 1 comment
Closed

Update ESLint Configuration to Address Deprecations #2496

chandel-aman opened this issue Sep 1, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@chandel-aman
Copy link
Contributor

The ESLint configuration needs to be updated to align with the deprecations introduced in TypeScript ESLint v8. Specifically, the deprecated @typescript-eslint/ban-types rule has been removed and replaced with newer, more granular rules.

Changes Made:

  • Removed:
    @typescript-eslint/ban-types: This rule has been deprecated and removed in TypeScript ESLint v8.

  • Added:
    @typescript-eslint/no-empty-object-type: Enforces banning the built-in {} type in confusing locations.
    @typescript-eslint/no-unsafe-function-type: Enforces banning the built-in Function type.
    @typescript-eslint/no-wrapper-object-types: Enforces banning built-in class wrappers such as Number.

Additional Notes:
Please refer to the TypeScript ESLint documentation for more details.

@github-actions github-actions bot added documentation Improvements or additions to documentation unapproved Unapproved for Pull Request labels Sep 1, 2024
@GlenDsza
Copy link

GlenDsza commented Sep 2, 2024

@palisadoes @tasneemkoushar Pls assign
This is a blocker for submitting PR for #2492 as this deprecation raises following error for every push
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants