Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit a003853

Browse files
authored
[web] enable always_specify_types for web_ui (#53226)
`always_specify_types: false` and `avoid_dynamic_calls: false` is a dangerous combination. Let's clean up `avoid_dynamic_calls` before disabling `always_specify_types`.
1 parent c7667fd commit a003853

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/web_ui/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ include: ../../analysis_options.yaml
88

99
linter:
1010
rules:
11+
always_specify_types: true # avoid_dynamic_calls needs to be cleaned up before we can start relying on type inference
1112
avoid_dynamic_calls: false
1213
avoid_print: false
1314
avoid_setters_without_getters: false

0 commit comments

Comments
 (0)