1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-05 09:20:04 +00:00

bump to linter 1.1.0

EDIT: see discussion below about breaking changes in `prefer_const_literals_to_create_immutables`.

EDIT2: looks like this was fixed upstream in analyzer 👍

Change-Id: I3fca9d074cece9cb60b8e97bdb72aa3bd3b2c2a8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/191762
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
pq 2021-03-18 20:49:33 +00:00 committed by commit-bot@chromium.org
parent 051ec30ff0
commit 5b5ed5793f
2 changed files with 6 additions and 2 deletions

View File

@ -12,8 +12,12 @@
#### Linter
Updated the Linter to `1.0.0`, which includes:
Updated the Linter to `1.1.0`, which includes:
- fixed `prefer_mixin` to properly make exceptions for `dart.collection`
legacy mixins.
- new lint: `use_build_context_synchronously` (experimental).
- new lint: `avoid_multiple_declarations_per_line`.
- full library migration to null-safety.
- new lint: `use_if_null_to_convert_nulls_to_bools`.
- new lint: `deprecated_consistency`.

2
DEPS
View File

@ -119,7 +119,7 @@ vars = {
"intl_tag": "0.17.0-nullsafety",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_rev": "b8dfe403fd8528fd14399dee3a6527b55802dd4d",
"linter_tag": "1.0.0",
"linter_tag": "1.1.0",
"logging_rev": "e2f633b543ef89c54688554b15ca3d7e425b86a2",
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
"markdown_rev": "9c4beaac96d8f008078e00b027915f81b665d2de",