Bug: Visitor keys for ExportSpecifier
are not in source code order
#11293
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
bug
Something isn't working
dependencies
Issue about dependencies of the package
Uh oh!
There was an error while loading. Please reload this page.
Before You File a Bug Report Please Confirm You Have Done The Following...
Relevant Package
visitor-keys
Playground Link
No response
Repro Code
ESLint Config
tsconfig
Expected Result
Visitation order for
ExportSpecifier
is incorrect -exported
is visited beforelocal
.@typescript-eslint/visitor-keys
inherits this problem fromeslint-visitor-keys
(as discussed in #11279). It has been fixed in eslint/js#655, which is included ineslint-visitor-keys
v4.2.1, which was released today.As far as I can see, this is the only substantive change made in v4.2.1, so I think it should be possible to bump
eslint-visitor-keys
dependency without upgrading to latesteslint
, and it shouldn't affect anything else.Actual Result
n/a
Additional Info
No response
Versions
@typescript-eslint/visitor-keys
8.34.0
The text was updated successfully, but these errors were encountered: