Skip to content

Commit

Permalink
fix: [SIG-549]: bring the ts config for pre-commit hook in sync with …
Browse files Browse the repository at this point in the history
…github CI (#4660)

* chore: dummy commit

* chore: dummy commit

* chore: dummy commit
  • Loading branch information
vikrantgupta25 authored Mar 7, 2024
1 parent f9b3ca0 commit 62af836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/scripts/typecheck-staged.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ done
# create temporary tsconfig which includes only passed files
str="{
\"extends\": \"./tsconfig.json\",
\"include\": [\"src/types/global.d.ts\",\"src/typings/window.ts\", \"src/typings/chartjs-adapter-date-fns.d.ts\", \"src/typings/environment.ts\" ,\"src/container/OnboardingContainer/typings.d.ts\",$files]
\"include\": [ \"src/typings/**/*.ts\",\"src/**/*.d.ts\", \"./babel.config.js\", \"./jest.config.ts\", \"./.eslintrc.js\",\"./__mocks__\",\"./conf/default.conf\",\"./public\",\"./tests\",\"./playwright.config.ts\",\"./commitlint.config.ts\",\"./webpack.config.js\",\"./webpack.config.prod.js\",\"./jest.setup.ts\",\"./**/*.d.ts\",$files]
}"
echo $str > tsconfig.tmp

Expand Down

0 comments on commit 62af836

Please sign in to comment.