As of the upcoming ESLint v10, it appears we will drop support for the eslintrc mode from core.
As part of that process, I'm proposing to remove eslintrc support from the create-config package.
There appears to be eslintrc-related logic throughout the create-config package:
|
const type = argv.includes("--eslintrc") ? "eslintrc" : "flat"; |
|
import { FlatCompat } from "@eslint/eslintrc"; |
|
// install peer dependencies - it's needed for most eslintrc-style shared configs. |
|
const peers = await fetchPeerDependencies(config.packageName); |
|
} else if (config.type === "eslintrc") { |
|
needCompatHelper = true; |
|
|
|
const shorthandName = getShorthandName(packageName, "eslint-config"); |
|
|
|
exportContent += ` compat.extends("${shorthandName}"),\n`; |
|
} |
|
this.result.devDependencies.push("@eslint/eslintrc", "@eslint/js"); |
As of the upcoming ESLint v10, it appears we will drop support for the
eslintrcmode from core.As part of that process, I'm proposing to remove
eslintrcsupport from thecreate-configpackage.There appears to be
eslintrc-related logic throughout thecreate-configpackage:create-config/bin/create-config.js
Line 48 in 61524d1
create-config/lib/config-generator.js
Line 55 in 61524d1
create-config/lib/config-generator.js
Lines 294 to 295 in 61524d1
create-config/lib/config-generator.js
Lines 319 to 325 in 61524d1
create-config/lib/config-generator.js
Line 338 in 61524d1