Skip to content

Commit 091e49c

Browse files
committed
chore: reenable tsc checks for PRs
1 parent 34a5b0f commit 091e49c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
"scripts": {
1919
"bump": "npm version -m \"chore(release): bump to v%s\"",
2020
"fmt": "npm run prettier",
21-
"lint": "npm run jshint",
21+
"lint": "npm run jshint && npm run tsc",
2222
"prepublish": "npx -p jswt@1.x -- reexport",
2323
"test": "node ./tests/",
2424
"--------------": "-----------------------------------------------",
2525
"jshint": "npx -p jshint@2.x -- jshint -c ./.jshintrc ./*.js",
2626
"prettier": "npx -p prettier@2.x -- prettier -w '**/*.{js,md}'",
2727
"reexport-types": "npx -p jswt@1.x -- reexport",
28-
"tsc": "npx -p typescript@5.x -- tsc -p ./jsconfig.json"
28+
"tsc": "! npx -p typescript@5.x -- tsc -p ./jsconfig.json | grep '\\.js(\\d\\+,\\d\\+): error' | grep -q -v '^node_modules/'"
2929
},
3030
"repository": {
3131
"type": "git",

0 commit comments

Comments
 (0)