Chore: Enable strict Typescript checks (#41198)
* Chore: Enable strict Typescript checking * Chore: Remove old strict budget checks
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -421,7 +421,6 @@ def lint_frontend_step():
|
||||
'yarn run prettier:check',
|
||||
'yarn run lint',
|
||||
'yarn run typecheck',
|
||||
'yarn run check-strict',
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user