Skip to content

Commit

Permalink
Merge pull request #142 from hatena/update-eslint-plugin-import-usage
Browse files Browse the repository at this point in the history
refactor: eslint-plugin-import のアップデートにより fixup は不要になった
  • Loading branch information
susisu authored Oct 6, 2024
2 parents 8265160 + 1b65d26 commit caf031b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ function config(options, configs) {
{
plugins: {
'@typescript-eslint': tsEslint.plugin,
// eslint-plugin-import v2.29.1時点ではESLint v9に対応していないため、互換性ユーティリティを通す。
'import': compat.fixupPluginRules(importPlugin),
'import': importPlugin,
'react': reactPlugin,
// eslint-plugin-react-hooks v4.6.2時点ではESLint v9に対応していないため、互換性ユーティリティを通す。
'react-hooks': compat.fixupPluginRules(reactHooksPlugin),
Expand Down

0 comments on commit caf031b

Please sign in to comment.