Skip to content

Commit 17644ee

Browse files
pqcommit-bot@chromium.org
authored andcommitted
linter 1.4.0
Mitigating PRs: https://dart-review.googlesource.com/c/sdk/+/196223 https://dart-review.googlesource.com/c/sdk/+/196180 flutter/flutter#80817 flutter/flutter#80901 Change-Id: Ib916d541076e24b9e8db1d6120dbc043d9e40b87 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/196026 Commit-Queue: Phil Quitslund <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
1 parent 9af507e commit 17644ee

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,14 @@
2727

2828
#### Linter
2929

30-
Updated the Linter to `1.3.0`, which includes:
31-
30+
Updated the Linter to `1.4.0`, which includes:
31+
32+
- `directives_ordering` now checks ordering of `package:` imports in code
33+
outside pub packages.
34+
- simple reachability analysis added to `use_build_context_synchronously` to
35+
short-circuit await-discovery in terminating blocks.
36+
- `use_build_context_synchronously` updated to recognize nullable types when
37+
accessed from legacy libraries.
3238
- updated `non_constant_identifier_names` to check local variables, for-loop
3339
initializers and catch clauses.
3440
- updated error range of `lines_longer_than_80_chars` to start at 80 to make

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ vars = {
124124
"intl_tag": "0.17.0-nullsafety",
125125
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
126126
"json_rpc_2_rev": "b8dfe403fd8528fd14399dee3a6527b55802dd4d",
127-
"linter_tag": "1.3.0",
127+
"linter_tag": "1.4.0",
128128
"logging_rev": "e2f633b543ef89c54688554b15ca3d7e425b86a2",
129129
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
130130
"markdown_rev": "9c4beaac96d8f008078e00b027915f81b665d2de",

0 commit comments

Comments
 (0)