Skip to content

Commit cd1a110

Browse files
CopilotBoshen
andcommitted
Move lint command to package root as workspace command
Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
1 parent ab3e8cf commit cd1a110

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

apps/dashboard/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"scripts": {
77
"dev": "vite",
88
"build": "tsc -b && vite build",
9-
"lint": "oxlint --config ../../.oxlintrc.json .",
109
"preview": "vite preview",
1110
"clean": "rm -rf dist"
1211
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"dev": "pnpm --filter dashboard dev",
88
"build": "pnpm -r build",
9-
"lint": "pnpm -r lint",
9+
"lint": "oxlint .",
1010
"test": "pnpm -r test",
1111
"clean": "pnpm -r clean",
1212
"build-deploy": "pnpm lint && pnpm build"

0 commit comments

Comments
 (0)