Commit 41d99685 authored by Phil Quitslund's avatar Phil Quitslund Committed by GitHub

Escalate `missing_return` hints to warnings (#8825)

Fixes: https://github.com/flutter/flutter-intellij/issues/808
parent cf08b44e
...@@ -26,6 +26,8 @@ analyzer: ...@@ -26,6 +26,8 @@ analyzer:
errors: errors:
# treat missing required parameters as a warning (not a hint) # treat missing required parameters as a warning (not a hint)
missing_required_param: warning missing_required_param: warning
# treat missing returns as a warning (not a hint)
missing_return: warning
# allow overriding fields (if they use super, ideally...) # allow overriding fields (if they use super, ideally...)
strong_mode_invalid_field_override: ignore strong_mode_invalid_field_override: ignore
# allow type narrowing # allow type narrowing
......
...@@ -27,6 +27,8 @@ analyzer: ...@@ -27,6 +27,8 @@ analyzer:
errors: errors:
# treat missing required parameters as a warning (not a hint) # treat missing required parameters as a warning (not a hint)
missing_required_param: warning missing_required_param: warning
# treat missing returns as a warning (not a hint)
missing_return: warning
# allow overriding fields (if they use super, ideally...) # allow overriding fields (if they use super, ideally...)
strong_mode_invalid_field_override: ignore strong_mode_invalid_field_override: ignore
# allow type narrowing # allow type narrowing
......
...@@ -27,6 +27,8 @@ analyzer: ...@@ -27,6 +27,8 @@ analyzer:
errors: errors:
# treat missing required parameters as a warning (not a hint) # treat missing required parameters as a warning (not a hint)
missing_required_param: warning missing_required_param: warning
# treat missing returns as a warning (not a hint)
missing_return: warning
# allow overriding fields (if they use super, ideally...) # allow overriding fields (if they use super, ideally...)
strong_mode_invalid_field_override: ignore strong_mode_invalid_field_override: ignore
# allow type narrowing # allow type narrowing
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment