Merge pull request #9389 from backstage/rugvip/lint
cli: tweak lint rules and switch ESLint invocation method
This commit is contained in:
@@ -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'
|
||||
```
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user