TypeScript: eslint --fix
command crash the code due to the prefer-object-spread
rule
#13058
Labels
3rd party plugin
This is an issue related to a 3rd party plugin, config, or parser
archived due to age
This issue has been archived; please open a new issue for any further discussion
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
rule
Relates to ESLint's core rules
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
@typescript-eslint/parser
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
eslint --fix ./*.ts
What did you expect to happen?
I expected the fix to occur as below:
What actually happened? Please include the actual, raw output from ESLint.
Actual output code:
This repository can reproduce the above problem: kurone-kito/example-for-eslint-POS
Are you willing to submit a pull request to fix this bug?
Probably no, because I don't know the cause.
The text was updated successfully, but these errors were encountered: