Also, some rules were transferred from typescript-eslint to @stylistic
"@typescript-eslint/indent"
"@typescript-eslint/no-extra-semi"
and, these rules are not disabled by eslint-config-prettier, so disable these two rules where eslint-config-prettier is used.
Update test fixture due to API change by v9
The eslint Node.js API has changed since FlatConfig became the default in eslint v9. Therefore, the fixture for rule-set testing was also changed to match this API change.
Outline
Added support for eslint v9. Specifically, I did the following.
Details
Update plugins this pakcage is using
"@typescript-eslint/eslint-plugin"
and"@typescript-eslint/parser"
Changed plugins that are not compatible with eslint v9 to alternative ones
Since
eslint-plugin-import
does not support eslint v9, we chose to useeslint-plugin-import-x
(famous fork ofeslint-plugin-import
) instead.Resolve differences in ruleset created by changes in 2.
There are changes in ruleset due to a major version update of
typescript-eslint
to v8.Also, some rules were transferred from
typescript-eslint
to@stylistic
"@typescript-eslint/indent"
"@typescript-eslint/no-extra-semi"
and, these rules are not disabled by eslint-config-prettier, so disable these two rules where eslint-config-prettier is used.
Update test fixture due to API change by v9
The eslint Node.js API has changed since FlatConfig became the default in eslint v9. Therefore, the fixture for rule-set testing was also changed to match this API change.
Update flat config type due to API change by v9
Change
Linter.FlatConfig[]
toLinter.Config[]
.~awaiting~
~eslint-plugin-jsx-a11y~
→ Now eslint v9 support is complete.(2024/09/10)