Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add format workspace command #49

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"enabled": true
},
"linter": {
"ignore": ["node_modules", ".next", "packages/tsconfig"],
"ignore": ["node_modules", ".next", "packages/tsconfig", ".trigger", ".turbo"],
"enabled": true,
"rules": {
"recommended": true,
Expand All @@ -20,6 +20,7 @@
}
},
"formatter": {
"indentStyle": "space"
"indentStyle": "space",
"ignore": ["node_modules", ".next", "packages/tsconfig", ".trigger", ".turbo"]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"start:web": "turbo start --filter=@v1/web",
"start:app": "turbo start --filter=@v1/app",
"test": "turbo test --parallel",
"format": "biome format --write .",
"format": "turbo format --parallel",
"lint": "turbo lint && bun lint:repo",
"lint:repo": "bunx sherif@latest",
"lint:repo:fix": "bunx sherif@latest --fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"clean": "rm -rf .turbo node_modules",
"lint": "biome check .",
"format": "biome --write .",
"format": "biome format --write .",
"typecheck": "tsc --noEmit"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"clean": "rm -rf .turbo node_modules",
"lint": "biome check .",
"format": "biome --write .",
"format": "biome format --write .",
"typecheck": "tsc --noEmit"
},
"devDependencies": {
Expand Down
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@
"persistent": true,
"cache": false
},
"format": {
"dependsOn": ["^topo"]
},
"lint": {
"dependsOn": ["^topo"]
},
Expand Down