-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
feat: support flat config with FlatESLint
#947
Comments
Online reproduction required. |
Minimal repro: https://github.com/KTibow/prettier-eslint-repro |
FlatESLint
Related codes: Line 407 in d4d55fd
We need to construct PR welcome if you're interested, otherwise I may help to add this feature later when I'm free. |
Stale issue |
Nope |
Stale issue |
Nope |
Stale issue |
Nope |
I hope it can be supported.🥺 |
+1 |
Nope |
+1, I would also like this to be supported |
This is not the way to go anymore, since |
I think it could be easier to just update the dependencies and follow this guide: https://eslint.org/docs/latest/extend/plugin-migration-flat-config, should be straight forward. |
Posting an error message from the "Prettier Eslint" VSCode plugin here. It seems that the error below could also be tracked using this issue (as I'm using
|
Versions:
prettier-eslint
version: latest (using prettier-eslint-cli)node
version: v21.1.0pnpm
version: 8.7.4Have you followed the debugging tips?
Yes
Relevant code
What I did:
Ran
pnpm dlx prettier-eslint-cli src/routes/more/+page.svelte --write --log-level debug
What happened:
It did not sort the unocss rules, even though my ESlint config (flat) has unocss enabled, and
eslint --fix src/routes/more/+page.svelte
works fineLogs:
Suggested solution:
Fix the bug? Not sure what to say
The text was updated successfully, but these errors were encountered: