Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
ESLint 8 will be end-of-life from 2024-10-05. ESLint 8 introduced a new config format, which is now the default in ESLint 9, and only opt-out through an environment flag. We could enable that flag and keep the current configs, but it's better to just update the configs now and be done with it.
I've updated all configs to use the new format. The most notable changes are:
Closes #362.
Breaking changes
All configs
^9.11.0, and all configs were updated to use the flat config format.@metamask/eslint-config-typescript@typescript-eslint/parserand@typescript-eslint/eslint-pluginare replaced withtypescript-eslint@^8.6.0, which is now a peer dependency.languageOptions.parserOptions.tsconfigRootDirmust be set to the current directory, e.g., usingimport.meta.dirname.