Skip to content

Commit 62b2560

Browse files
chore(site): add type check on lint (#7778)
1 parent 1a61577 commit 62b2560

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
"format:types": "prettier --write 'src/api/typesGenerated.ts'",
1414
"format:write": "prettier --write '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
1515
"format:write:only": "prettier --write",
16-
"lint": "jest --selectProjects lint",
16+
"lint": "yarn typegen && yarn run lint:types && jest --selectProjects lint",
1717
"lint:fix": "FIX=true yarn lint",
18+
"lint:types": "tsc --noEmit",
1819
"playwright:install": "playwright install --with-deps chromium",
1920
"playwright:test": "playwright test --config=e2e/playwright.config.ts",
2021
"storybook": "STORYBOOK=true storybook dev -p 6006",

0 commit comments

Comments
 (0)