enable avoid_returning_null (#108650)

This commit is contained in:
Michael Goderbauer
2022-07-29 16:41:02 -07:00
committed by GitHub
parent c92e001400
commit 3d1f707317

View File

@@ -72,7 +72,7 @@ linter:
- avoid_relative_lib_imports
- avoid_renaming_method_parameters
- avoid_return_types_on_setters
# - avoid_returning_null # still violated by some pre-nnbd code that we haven't yet migrated
- avoid_returning_null
- avoid_returning_null_for_future
- avoid_returning_null_for_void
# - avoid_returning_this # there are enough valid reasons to return `this` that this lint ends up with too many false positives