Escalate missing_required_param hints to warnings (#8087). (#8096)

Fixes: #8087.
This commit is contained in:
Phil Quitslund 2017-02-13 14:56:56 -08:00 committed by GitHub
parent d4550fd498
commit 39f7d58b74
3 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,8 @@ analyzer:
strong-mode:
implicit-dynamic: false
errors:
# treat missing required parameters as a warning (not a hint)
missing_required_param: warning
# allow overriding fields (if they use super, ideally...)
strong_mode_invalid_field_override: ignore
# allow type narrowing

View File

@ -25,6 +25,8 @@ analyzer:
strong-mode:
implicit-dynamic: false
errors:
# treat missing required parameters as a warning (not a hint)
missing_required_param: warning
# allow overriding fields (if they use super, ideally...)
strong_mode_invalid_field_override: ignore
# allow type narrowing

View File

@ -25,6 +25,8 @@ analyzer:
enableSuperMixins: true
strong-mode: true
errors:
# treat missing required parameters as a warning (not a hint)
missing_required_param: warning
# allow overriding fields (if they use super, ideally...)
strong_mode_invalid_field_override: ignore
# allow type narrowing