linter 1.7.0

Change-Id: I5b0c89ddded519cda337777ca64fe111e653792e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205361
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
pq 2021-07-01 16:16:28 +00:00 committed by commit-bot@chromium.org
parent 32f9d0c404
commit 283450336d
2 changed files with 13 additions and 2 deletions

View file

@ -103,8 +103,19 @@
#### Linter
Updated the Linter to `1.6.1`, which includes changes that
Updated the Linter to `1.7.0`, which includes changes that
- fix case-sensitive false positive in `use_full_hex_values_for_flutter_colors`.
- improve try-block and switch statement flow analysis for
`use_build_context_synchronously`.
- update `use_setters_to_change_properties` to only highlight a method name,
not the entire body and doc comment.
- update `unnecessary_getters_setters` to allow otherwise "unnecessary" getters
and setters with annotations.
- update `missing_whitespace_between_adjacent_strings` to allow String
interpolations at the beginning and end of String literals.
- update `unnecessary_getters_setters` to allow for setters with non-basic
assignments (for example, `??=` or `+=`).
- relax `non_constant_identifier_names` to allow for a trailing
underscore.
- fix false negative in `prefer_final_parameters` where first parameter

2
DEPS
View file

@ -124,7 +124,7 @@ vars = {
"intl_tag": "0.17.0-nullsafety",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_rev": "7e00f893440a72de0637970325e4ea44bd1e8c8e",
"linter_tag": "1.6.1",
"linter_tag": "422981ffb2fbd4010aa52381676cf745e2844dd9",
"lints_tag": "f9670df2a66e0ec12eb51554e70c1cbf56c8f5d0",
"logging_rev": "e2f633b543ef89c54688554b15ca3d7e425b86a2",
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",