Merge pull request #9389 from backstage/rugvip/lint

cli: tweak lint rules and switch ESLint invocation method
This commit is contained in:
Ben Lambert
2022-02-07 15:09:28 +01:00
committed by GitHub
5 changed files with 41 additions and 39 deletions
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/cli': patch
---
Removed the `import/no-duplicates` lint rule from the frontend and backend ESLint configurations. This rule is quite expensive to execute and only provides a purely cosmetic benefit, so we opted to remove it from the set of default rules. If you would like to keep this rule you can add it back in your local ESLint configuration:
```js
'import/no-duplicates': 'warn'
```
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Switched the `lint` command to invoke ESLint directly through its Node.js API rather than spawning a new process.