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

Is @emotion/eslint-plugin consider support eslint flat config? #3260

Open
zhuscat opened this issue Sep 29, 2024 · 2 comments
Open

Is @emotion/eslint-plugin consider support eslint flat config? #3260

zhuscat opened this issue Sep 29, 2024 · 2 comments

Comments

@zhuscat
Copy link

zhuscat commented Sep 29, 2024

The problem

Is @emotion/eslint-plugin consider support eslint flat config?

@soren121
Copy link

The ESLint plugin does not export any configurations, so there are no changes needed for flat config.

@Tuizi
Copy link

Tuizi commented Oct 25, 2024

Still an update to the documentation would be appreciated?
Or a note like other plugins do:

eslint 8
.eslintrc.json

{
  "plugins": ["@emotion"]
}

eslint 9
eslint.config.js

const emotion = require('@emotion/eslint-plugin');

{
  plugins: {
    "@emotion": emotion
  },
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants