cli: use node API from ESLint to invoke it rather than a subprocess

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-02-07 12:36:36 +01:00
parent fae2aee878
commit d0c71e2aa4
2 changed files with 25 additions and 10 deletions
+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.