Skip to content

Commit

Permalink
FIx Key "plugins": Cannot redefine plugin "import". when used in flat…
Browse files Browse the repository at this point in the history
… config
  • Loading branch information
offspring authored Oct 21, 2024
1 parent 67cc798 commit bfe3a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const importPlugin = {
const createFlatConfig = (baseConfig, configName) => ({
...baseConfig,
name: `import/${configName}`,
plugins: { import: importPlugin },
plugins: { 'import': importPlugin },
});

export const flatConfigs = {
Expand Down

0 comments on commit bfe3a5a

Please sign in to comment.