[web] enable always_specify_types for web_ui (flutter/engine#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`.
This commit is contained in:
@@ -8,6 +8,7 @@ include: ../../analysis_options.yaml
|
||||
|
||||
linter:
|
||||
rules:
|
||||
always_specify_types: true # avoid_dynamic_calls needs to be cleaned up before we can start relying on type inference
|
||||
avoid_dynamic_calls: false
|
||||
avoid_print: false
|
||||
avoid_setters_without_getters: false
|
||||
|
||||
Reference in New Issue
Block a user