Skip to content

Commit b285b8b

Browse files
committed
chore: update lint script
1 parent f82d85f commit b285b8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
"preview": "astro preview",
1414
"astro": "astro",
1515
"prepare": "astro telemetry disable && husky install",
16-
"type-check": "astro check && tsc --noEmit",
17-
"lint": "eslint --ext .cjs,.mjs,.ts,.astro --ignore-path .gitignore ."
16+
"lint:js": "eslint --ext .cjs,.mjs,.ts,.astro --ignore-path .gitignore .",
17+
"lint:ts": "astro check && tsc --noEmit",
18+
"lint": "pnpm run lint:js && pnpm run lint:ts"
1819
},
1920
"dependencies": {
2021
"@astrojs/partytown": "^1.2.3",

0 commit comments

Comments
 (0)