WIP Chore: reduce strict errors (#40462)
* Chore: reduce strict error in ngReact * Chore: reduce strict errors for ShareModal * Chore: reduce strict errors in VersioHistory * Chore: reduce strict error in ExpressionDatasource * Chore: reduce strict error in DashboardWatcher * Chore: reduce strict error in PluginPage * Chore: reduce strict errors for guard * Chore: update threshold * Chore: reduce strict errors in Graph * Chore: reduce threshold * Apply suggestions from code review Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com> * Chore: reduce strict errors in TimeSeries * Chore: reduce threshold * Chore: reduce strict errors in polyfill * Chore: reduce threshold * Chore: update after PR comments * Update public/app/features/plugins/PluginPage.tsx Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com> * Update public/app/features/plugins/PluginPage.tsx Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com> * Chore: changes after PR comments Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com> Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
This commit is contained in:
co-authored by
Ashley Harrison
Marcus Andersson
parent
4fc86594c0
commit
09bb890092
@@ -3,7 +3,7 @@ set -e
|
||||
|
||||
echo -e "Collecting code stats (typescript errors & more)"
|
||||
|
||||
ERROR_COUNT_LIMIT=39
|
||||
ERROR_COUNT_LIMIT=24
|
||||
ERROR_COUNT="$(./node_modules/.bin/tsc --project tsconfig.json --noEmit --strict true | grep -oP 'Found \K(\d+)')"
|
||||
|
||||
if [ "$ERROR_COUNT" -gt $ERROR_COUNT_LIMIT ]; then
|
||||
|
||||
Reference in New Issue
Block a user