Skip to content
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

No longer compatible with ESLint v8? #3751

Closed
3 of 4 tasks
Stanzilla opened this issue Apr 22, 2024 · 5 comments
Closed
3 of 4 tasks

No longer compatible with ESLint v8? #3751

Stanzilla opened this issue Apr 22, 2024 · 5 comments

Comments

@Stanzilla
Copy link

Stanzilla commented Apr 22, 2024

UnoCSS version

0.59.4

Describe the bug

On a dependabot PR that upgrades @unocss/eslint-config from 0.58.8 to 0.59.4 I'm getting the following error:

Error: ESLint configuration in .eslintrc.json » @unocss/eslint-config is invalid:
- Unexpected top-level property "default".

WeakAuras/WeakAuras-Companion#2452

Reproduction

I hope the linked repo is good enough, otherwise I can set up a playground as well.

See WeakAuras/WeakAuras-Companion#2452

System Info

No response

Validations

@cl1107
Copy link

cl1107 commented Apr 23, 2024

same isuue

@fzf404
Copy link

fzf404 commented Apr 23, 2024

i have same issue

@zhuba-Ahhh
Copy link

meto

@linkscope
Copy link

linkscope commented Apr 27, 2024

I have the same issue and it seems that I can only use flat config?

@antfu
Copy link
Member

antfu commented May 8, 2024

Should be resolved in v0.60

@antfu antfu closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants