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:
@@ -8,6 +8,7 @@
|
||||
**/public/**
|
||||
**/microsite/**
|
||||
**/docs-ui/**
|
||||
**/workspaces/**
|
||||
**/templates/**
|
||||
**/sample-templates/**
|
||||
playwright.config.ts
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
.yarn
|
||||
dist
|
||||
microsite
|
||||
workspaces
|
||||
docs-ui/.next
|
||||
docs-ui/public
|
||||
docs-ui/out
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user