Chore: Enable strict Typescript checks (#41198)

* Chore: Enable strict Typescript checking

* Chore: Remove old strict budget checks
This commit is contained in:
Josh Hunt
2021-11-02 15:23:44 +00:00
committed by GitHub
parent eb223a6645
commit 14ddb2939c
5 changed files with 2 additions and 25 deletions
-13
View File
@@ -1,13 +0,0 @@
#!/bin/bash
set -e
echo -e "Collecting code stats (typescript errors & more)"
ERROR_COUNT_LIMIT=1
ERROR_COUNT="$(yarn run tsc --project tsconfig.json --noEmit --strict true | grep -oP 'Found \K(\d+)')"
if [ "$ERROR_COUNT" -gt $ERROR_COUNT_LIMIT ]; then
echo -e "Typescript strict errors $ERROR_COUNT exceeded $ERROR_COUNT_LIMIT so failing build"
exit 1
fi
-1
View File
@@ -421,7 +421,6 @@ def lint_frontend_step():
'yarn run prettier:check',
'yarn run lint',
'yarn run typecheck',
'yarn run check-strict',
],
}