cli: lint ignore any eslintrc files

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-07-31 12:59:46 +02:00
parent 886f6638fb
commit d45bbfeb69
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Linting is now ignored for any `.eslintrc.*` files, not just `.eslintrc.js`.
+1 -1
View File
@@ -76,7 +76,7 @@ function createConfig(dir, extraConfig = {}) {
...parserOptions,
},
ignorePatterns: [
'.eslintrc.js',
'.eslintrc.*',
'**/dist/**',
'**/dist-types/**',
...(ignorePatterns ?? []),