try lint prefer_expression_function_bodies (#9494)

This commit is contained in:
Alexandre Ardhuin 2017-04-21 23:10:37 +02:00 committed by GitHub
parent a57018a4bb
commit 10099db4e2
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ linter:
- prefer_collection_literals
- prefer_const_constructors
- 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_locals
# - prefer_function_declarations_over_variables # not yet tested

View File

@ -92,7 +92,7 @@ linter:
- prefer_collection_literals
- prefer_const_constructors
- 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_locals
# - prefer_function_declarations_over_variables # not yet tested