-
-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
Description
happens when migrate legacy eslintrc config with flat configs.
const { FlatCompat } = require("@eslint/eslintrc");
const antfu = require('@antfu/eslint-config').default;
const compat = new FlatCompat({});
module.exports = [
...compat.config({
"extends": "next/core-web-vitals"
}),
...antfu({
typescript: true,
}),
];
Oops! Something went wrong! :(
ESLint: 8.53.0
TypeError: Cannot redefine plugin "import".
both legacy and flat from @antfu/eslint-config
contains eslint-plugin-import
, but seems this was fixed in #91
poshaughnessy-waitrose, movahhedi, Grohden, branchard, TheUniqueMathemagician and 2 morehaltcase
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Complete