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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: use flat config #250

Merged
merged 4 commits into from Sep 21, 2023
Merged

feat!: use flat config #250

merged 4 commits into from Sep 21, 2023

Conversation

antfu
Copy link
Owner

@antfu antfu commented Sep 21, 2023

This PR rewrites the codebase to a single package with ESLint Flat config.

Breaking Changes

  • ESLint Flat config, the user also needs to migrate to FlatConfig.
  • @antfu/eslint-config-* are all dropped, as @antfu/eslint-config provides the composability much better now.
  • @antfu/eslint-config-react is removed, as I no longer write React (I am sorry 馃槣)
  • ESLINT_TSCONFIG no longer works, compose in eslint.config.js instead (check readme)
  • Requires ESLint v8
  • Rename plugin prefixes (f31a824)

Thanks to @sxzz for the work done in https://github.com/sxzz/eslint-config :P

@falkenhawk
Copy link

  • @antfu/eslint-config-react is removed, as I no longer write React (I am sorry 馃槣)

馃ゲ
Would you be able to suggest a replacement for @antfu/eslint-config-react?

@antfu
Copy link
Owner Author

antfu commented Oct 3, 2023

I am open to have a generic JSX support, context:

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

Successfully merging this pull request may close these issues.

None yet

3 participants