Skip to content

Commit 479a031

Browse files
committed
feat: add turbo lint command
1 parent 1b83a28 commit 479a031

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"format": "pnpm format --write .",
88
"precommit": "lint-staged",
99
"dev": "pnpm -r dev",
10-
"build": "turbo build"
10+
"build": "turbo build",
11+
"lint": "turbo lint"
1112
},
1213
"engines": {
1314
"node": ">=18.16",

turbo.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"build": {
99
"dependsOn": ["^build"],
1010
"outputs": [".next/**", "!.next/cache/**", "dist/**"]
11+
},
12+
"lint": {
13+
"dependsOn": ["^lint"]
1114
}
1215
}
1316
}

0 commit comments

Comments
 (0)