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
feat(ast-spec): remove deprecated type params #8933
base: v8
Are you sure you want to change the base?
feat(ast-spec): remove deprecated type params #8933
Conversation
Thanks for the PR, @abrahamguo! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. |
✅ Deploy Preview for typescript-eslint ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…emove-type-parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(waiting on test failures)
…nt#8691) * test: add testCase * test: fix test case result * docs: add comment in testcase and function
…escript-eslint#8746) * feat(eslint-plugin): [no-unsafe-argument] handle tagged templates * add istanbul comment * add test cases * fix error loc * fix: add null throws
…emove-type-parameters
…g during strict null equality check (typescript-eslint#8717) * fix [prefer-optional-chain] suggests optional chaining during strict null equality * fix [prefer-optional-chain] suggests optional chaining during strict null equality * Fix lint * Add prefer-optional-chain test * Fix lint * rebase and fix prefer optional chain on strict null equality * fix prefer optional chain on strict null equality * fix lint * tests: code review suggestion * Update packages/eslint-plugin/src/rules/prefer-optional-chain-utils/analyzeChain.ts --------- Co-authored-by: Marta Cardoso <up201304504@up.pt> Co-authored-by: Marta Cardoso <145560260+up201304504@users.noreply.github.com> Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
…emove-type-parameters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/* This rule | ||
(1) causes false reports because it reads from `typeParameters` rather than `typeArguments`, and | ||
(2) is unnecessary in TypeScript components */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For (1), if it's a transient problem, we'd want to link to the upstream issue (jsx-eslint/eslint-plugin-react#3602). Vague comments tend to get out of date and don't help new readers understand the issue well.
For (2), yup, that's going to last beyond (1) - so I'd say it makes sense to disable the rule here always anyway.
/* This rule | |
(1) causes false reports because it reads from `typeParameters` rather than `typeArguments`, and | |
(2) is unnecessary in TypeScript components */ |
BREAKING CHANGE:
Removes properties from the AST.
PR Checklist
Overview
Remove @deprecated
typeParameters
properties that were deprecated in #6274