fix(visitor-keys): update keys for ImportAttribute#10649
fix(visitor-keys): update keys for ImportAttribute#10649bradzacher merged 2 commits intotypescript-eslint:mainfrom
ImportAttribute#10649Conversation
|
Thanks for the PR, @antfu! 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. |
|
View your CI Pipeline Execution ↗ for commit 0a04812.
☁️ Nx Cloud last updated this comment at |
JoshuaKGoldberg
left a comment
There was a problem hiding this comment.
Sorry for the delay! I just want to be thorough and do research on this, since it's a tricky change. It looks good to me. Just to be safe I think another review from @typescript-eslint/triage-team would be good.

PR Checklist
Overview
Sorry for a quick PR without an issue - I will fill that later. The key
assertionsonImportDeclarationas renamed toattributesbut the visitor keys are not updated. This causing theImportAttributelistener in ESLint rule to be called twice with the same node because eslint's visitor keys now includeattributes:https://github.com/eslint/js/blob/79f6f9a603e44707a7774ebd3f871da336242fb5/packages/eslint-visitor-keys/lib/visitor-keys.js#L148
Note: I noticed that the keys are actually merged with
eslint-visitor-keys, asattributesis already ineslint-visitor-keys, should I remove them instead? If so, there seem to be quite a few keys that are also redundant. -> I made #10650 for the record