Commit 10099db4 authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

try lint prefer_expression_function_bodies (#9494)

parent a57018a4
...@@ -94,7 +94,7 @@ linter: ...@@ -94,7 +94,7 @@ linter:
- prefer_collection_literals - prefer_collection_literals
- prefer_const_constructors - prefer_const_constructors
- prefer_contains - prefer_contains
# - prefer_expression_function_bodies # not yet tested # - prefer_expression_function_bodies # conflicts with https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#consider-using--for-short-functions-and-methods
# - prefer_final_fields # https://github.com/dart-lang/linter/issues/506 # - prefer_final_fields # https://github.com/dart-lang/linter/issues/506
- prefer_final_locals - prefer_final_locals
# - prefer_function_declarations_over_variables # not yet tested # - prefer_function_declarations_over_variables # not yet tested
......
...@@ -92,7 +92,7 @@ linter: ...@@ -92,7 +92,7 @@ linter:
- prefer_collection_literals - prefer_collection_literals
- prefer_const_constructors - prefer_const_constructors
- prefer_contains - prefer_contains
# - prefer_expression_function_bodies # not yet tested # - prefer_expression_function_bodies # conflicts with https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#consider-using--for-short-functions-and-methods
# - prefer_final_fields # https://github.com/dart-lang/linter/issues/506 # - prefer_final_fields # https://github.com/dart-lang/linter/issues/506
- prefer_final_locals - prefer_final_locals
# - prefer_function_declarations_over_variables # not yet tested # - prefer_function_declarations_over_variables # not yet tested
......
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