Open KTibow opened 6 months ago
Online reproduction required.
Minimal repro: https://github.com/KTibow/prettier-eslint-repro
Related codes:
We need to construct new FlatESLint
for flat config instead.
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.🥺
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