feat!: support ESLint 9 flat config #81
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 ofeslint-recommended
(which isn't a recommended config by the upstreamtypescript-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 supportcreate-vue
new version before ESLint 8 EOL. feat: support ESLint 9 Flat Config create-vue#573@vue/eslint-config-typescript
features and performance improvements.@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