mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
bump to linter 0.1.85
Change-Id: Id53c9babe05a74de7ea1931f9912cfa19a72ecb4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98802 Commit-Queue: Phil Quitslund <pquitslund@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
parent
4ca7401604
commit
6d47db7629
|
@ -12,10 +12,12 @@
|
||||||
|
|
||||||
#### Linter
|
#### Linter
|
||||||
|
|
||||||
The Linter was updated to `0.1.84` which includes the following changes:
|
The Linter was updated to `0.1.85` which includes the following changes:
|
||||||
|
|
||||||
* new lint: `spread_collections`
|
* (**BREAKING**) renamed `spread_collections` to `prefer_spread_collections`
|
||||||
* new lint: `prefer_asserts_with_message`
|
* new lint: `prefer_for_elements_to_map_fromIterable`
|
||||||
|
* new lint: `prefer_if_elements_to_conditional_expressions`
|
||||||
|
* new lint: `diagnostic_describe_all_properties`
|
||||||
|
|
||||||
#### Other Tools
|
#### Other Tools
|
||||||
|
|
||||||
|
|
2
DEPS
2
DEPS
|
@ -95,7 +95,7 @@ vars = {
|
||||||
"intl_tag": "0.15.7",
|
"intl_tag": "0.15.7",
|
||||||
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
|
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
|
||||||
"json_rpc_2_tag": "2.0.9",
|
"json_rpc_2_tag": "2.0.9",
|
||||||
"linter_tag": "0.1.84",
|
"linter_tag": "0.1.85",
|
||||||
"logging_tag": "0.11.3+2",
|
"logging_tag": "0.11.3+2",
|
||||||
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
|
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
|
||||||
"markdown_tag": "2.0.2",
|
"markdown_tag": "2.0.2",
|
||||||
|
|
|
@ -61,7 +61,7 @@ class PreferSpreadCollectionsFix extends FixLintTask {
|
||||||
|
|
||||||
static void task(DartFixRegistrar registrar, DartFixListener listener) {
|
static void task(DartFixRegistrar registrar, DartFixListener listener) {
|
||||||
registrar.registerLintTask(
|
registrar.registerLintTask(
|
||||||
Registry.ruleRegistry['spread_collections'],
|
Registry.ruleRegistry['prefer_spread_collections'],
|
||||||
new PreferSpreadCollectionsFix(listener),
|
new PreferSpreadCollectionsFix(listener),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue