workspaces: add root prettier and eslint ignores, fix base branch

The root prettier and eslint runs shouldn't reach into the standalone
workspaces, since each one manages its own formatting and linting. Also
correct the ui workspace lint script to diff against origin/master to
match the repo's default branch.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-04-27 21:29:15 +02:00
parent 6a544bb06a
commit 2f31c3f259
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@
**/public/**
**/microsite/**
**/docs-ui/**
**/workspaces/**
**/templates/**
**/sample-templates/**
playwright.config.ts
+1
View File
@@ -3,6 +3,7 @@
.yarn
dist
microsite
workspaces
docs-ui/.next
docs-ui/public
docs-ui/out
+1 -1
View File
@@ -13,7 +13,7 @@
"test": "backstage-cli repo test",
"test:all": "backstage-cli repo test --coverage",
"fix": "backstage-cli repo fix",
"lint": "backstage-cli repo lint --since origin/main",
"lint": "backstage-cli repo lint --since origin/master",
"lint:all": "backstage-cli repo lint",
"prettier:check": "prettier --check .",
"new": "backstage-cli new"