cli: forward overrides in eslint-factory

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-03-11 18:05:08 +01:00
parent 66ffb38685
commit 19eed0edd9
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -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`.
+2
View File
@@ -37,6 +37,7 @@ function createConfig(dir, extraConfig = {}) {
env,
parserOptions,
ignorePatterns,
overrides,
rules,
tsRules,
@@ -173,6 +174,7 @@ function createConfig(dir, extraConfig = {}) {
],
},
},
...(overrides ?? []),
],
};
}