diff --git a/.changeset/lovely-feet-do.md b/.changeset/lovely-feet-do.md new file mode 100644 index 0000000000..637603aed0 --- /dev/null +++ b/.changeset/lovely-feet-do.md @@ -0,0 +1,5 @@ +--- +'@backstage/cli': patch +--- + +Fix for `overrides` not being properly forwarded from the extra configuration passed to `@backstage/cli/config/eslint-factory`. diff --git a/packages/cli/config/eslint-factory.js b/packages/cli/config/eslint-factory.js index 67f30ac359..e04e3bdb2d 100644 --- a/packages/cli/config/eslint-factory.js +++ b/packages/cli/config/eslint-factory.js @@ -37,6 +37,7 @@ function createConfig(dir, extraConfig = {}) { env, parserOptions, ignorePatterns, + overrides, rules, tsRules, @@ -173,6 +174,7 @@ function createConfig(dir, extraConfig = {}) { ], }, }, + ...(overrides ?? []), ], }; }