cli: forward overrides in eslint-factory
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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`.
|
||||
@@ -37,6 +37,7 @@ function createConfig(dir, extraConfig = {}) {
|
||||
env,
|
||||
parserOptions,
|
||||
ignorePatterns,
|
||||
overrides,
|
||||
|
||||
rules,
|
||||
tsRules,
|
||||
@@ -173,6 +174,7 @@ function createConfig(dir, extraConfig = {}) {
|
||||
],
|
||||
},
|
||||
},
|
||||
...(overrides ?? []),
|
||||
],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user