This PR upgrades @types/eslint to the last version for ESLint v9. @types/eslint is only included in devDependencies which makes this change a chore, even if the eslint types are referenced in the published type declarations of @eslint/compat and @eslint/migrate-config.
What changes did you make? (Give an overview)
Updated the @eslint/types dependencies to "^9.6.0".
Updated a type import in compat package to work with both the v8 and v9 types.
Replaced Config with LegacyConfig in migrate-config package to work with both the v8 and v9 types.
Excluded c8-generated coverage directories from linting with eslint.
Related Issues
Is there anything you'd like reviewers to focus on?
Prerequisites checklist
What is the purpose of this pull request?
This PR upgrades
@types/eslint
to the last version for ESLint v9.@types/eslint
is only included indevDependencies
which makes this change a chore, even if the eslint types are referenced in the published type declarations of@eslint/compat
and@eslint/migrate-config
.What changes did you make? (Give an overview)
@eslint/types
dependencies to"^9.6.0"
.compat
package to work with both the v8 and v9 types.Config
withLegacyConfig
inmigrate-config
package to work with both the v8 and v9 types.coverage
directories from linting with eslint.Related Issues
Is there anything you'd like reviewers to focus on?