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

feat!: support ESLint 9 flat config #81

Merged
merged 13 commits into from
Sep 24, 2024
Merged

Conversation

haoqunjiang
Copy link
Member

@haoqunjiang haoqunjiang commented Sep 13, 2024

Due to the heavy maintenance burden, I'd like to drop support for plain <script> blocks in .vue by default.
Also, the default configuration should be the recommended one, instead of eslint-recommended (which isn't a recommended config by the upstream typescript-eslint anyway).


My rollout plan for ESLint 9 support in create-vue:

  • @vue/eslint-config-prettier new version feat!: add support for ESLint Flat Config; drop `.eslintrc* support eslint-config-prettier#22
  • @vue/eslint-config-typescript new version with basic functionality, as laid out in this PR. (I'm afraid I can't get the *-type-checked configurations right on the first try; I'm not sure about the performance in large projects either).
  • @vue/create-eslint-config experimental flat config support
  • create-vue new version before ESLint 8 EOL. feat: support ESLint 9 Flat Config create-vue#573
  • Finish @vue/eslint-config-typescript features and performance improvements.
  • Work on @vue/eslint-config-standard and @vue/eslint-config-airbnb. I can't guarantee a timeframe for these 2 projects, though. I will likely work on the standard config first because the upstream library has already shipped flag config support.

Closes #72
Closes #73
Closes #75
Closes #76
Closes #80

@haoqunjiang haoqunjiang marked this pull request as ready for review September 24, 2024 11:25
@haoqunjiang haoqunjiang changed the title [Work-in-Progress] feat!: support ESLint 9 flat config feat!: support ESLint 9 flat config Sep 24, 2024
@haoqunjiang haoqunjiang merged commit f30a678 into main Sep 24, 2024
6 checks passed
@haoqunjiang haoqunjiang deleted the feat-eslint-9-support branch September 24, 2024 13:54
n0099 added a commit to n0099/open-tbm that referenced this pull request Oct 18, 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
1 participant