[one-var] Autofixing this rule drops some exported vars #13834
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
autofix
This change is related to ESLint's autofixing capabilities
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
Tell us about your environment
Can be reproduced in Eslint demo
Check how 'Fixed code' doesn't export both consts.
What did you do?
What did you expect to happen?
I expect the rule to be autofixed to
I.e. both const are exported.
What actually happened?
Only the first const is exported:
Are you willing to submit a pull request to fix this bug?
Yes
The text was updated successfully, but these errors were encountered: