You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin should work with the typed configs from typescript-eslint - eg. recommendedTypeChecked. When using the recommended one, the issue does not occur.
What actually happened?
When running eslint . --fix initially, there seems to be some issue with the eslint typescript parser, which produces the output shown in the screenshot below. Eslint & prettier fixing still applies, but the output by eslint is very confusing.
The issue does not occur when either switch to the typescript-eslint recommended config, or remove the eslint-plugin-prettier, or use only the eslint . command
The text was updated successfully, but these errors were encountered:
What version of
eslint
are you using?eslint 9.2.0
What version of
prettier
are you using?prettier 3.5.2
What version of
eslint-plugin-prettier
are you using?5.1.3
Please paste any applicable config files that you're using (e.g.
.prettierrc
or.eslintrc
files)see flat config setup in https://github.com/aaarichter/eslint-prettier-plugin-issue/blob/main/eslint.config.js
What source code are you linting?
https://github.com/aaarichter/eslint-prettier-plugin-issue/blob/main/src/ts-test/normal-ts.ts
What did you expect to happen?
The plugin should work with the typed configs from
typescript-eslint
- eg.recommendedTypeChecked
. When using therecommended
one, the issue does not occur.What actually happened?
When running
eslint . --fix
initially, there seems to be some issue with the eslint typescript parser, which produces the output shown in the screenshot below. Eslint & prettier fixing still applies, but the output by eslint is very confusing.The issue does not occur when either switch to the typescript-eslint
recommended
config, or remove the eslint-plugin-prettier, or use only theeslint .
commandThe text was updated successfully, but these errors were encountered: