Skip to content

Commit

Permalink
fix: tsc should output errors in non node_modules files
Browse files Browse the repository at this point in the history
  • Loading branch information
coolaj86 committed Apr 19, 2024
1 parent 4420cfe commit bf39d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"jshint": "npx -p jshint@2.x -- jshint -c ./.jshintrc ./*.js",
"prettier": "npx -p prettier@2.x -- prettier -w '**/*.{js,md}'",
"reexport-types": "npx -p jswt@1.x -- reexport",
"tsc": "! npx -p typescript@5.x -- tsc -p ./jsconfig.json | grep '\\.js(\\d\\+,\\d\\+): error' | grep -q -v '^node_modules/'"
"tsc": "! npx -p typescript@5.x -- tsc -p ./jsconfig.json | grep '\\.js(\\d\\+,\\d\\+): error' | grep -v '\\<node_modules/'"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit bf39d57

Please sign in to comment.