try use_to_and_as_if_applicable lint (#10078)

* try use_to_and_as_if_applicable lint

* address review comments
This commit is contained in:
Alexandre Ardhuin 2017-05-15 09:44:39 +02:00 committed by GitHub
parent f7502c854c
commit 45cef3cbcc
2 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ linter:
- use_rethrow_when_possible
# - use_setters_to_change_properties # not yet tested
# - use_string_buffers # https://github.com/dart-lang/linter/pull/664
# - use_to_and_as_if_applicable # not yet tested
# - use_to_and_as_if_applicable # has false positives, so we prefer to catch this by code-review
# === pub rules ===
- package_names

View File

@ -135,7 +135,7 @@ linter:
- use_rethrow_when_possible
# - use_setters_to_change_properties # not yet tested
# - use_string_buffers # https://github.com/dart-lang/linter/pull/664
# - use_to_and_as_if_applicable # not yet tested
# - use_to_and_as_if_applicable # has false positives, so we prefer to catch this by code-review
# === pub rules ===
- package_names