-
-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect differences being generated with eslintv9 #697
Comments
hmmm actually no this may be fine because you're inserting { on the difference above it.... gah |
Decided to reopen this because I'm not sure if the issue is with prettier, or eslint, but it only manifests since eslint v9. |
Should report to https://github.com/prettier/prettier-linter-helpers instead. cc @BPScott ![]() See the last two reports, they can not be applied one by one. |
I haven't looked deep, but I highly doubt this is not related to |
Nope. :( |
No, not related to |
Yep. |
I'll report to ESLint. |
Hello
I originally raised this issue over on eslint : eslint/eslint#19258 so there's quite a bit of context there, however I've been debugging and the issue appears to be in the
generateDifferences
function of theeslint-plugin-prettier
package.It's a bit crude this debugging but on
eslint-plugin-prettier.js
, lines 243, I added:If you notice the output in my terminal both
source
andprettierSource
are correct, but the differences generated bygenerateDifferences
includesWhich is incorrect.
The text was updated successfully, but these errors were encountered: