linter 1.30.0

Change-Id: I46981ffb71006aff9e7d8d68a323ae243f9c2542
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/268800
Commit-Queue: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
pq 2022-11-09 23:25:29 +00:00 committed by Commit Queue
parent a211fe7655
commit 35699ad901
3 changed files with 8 additions and 2 deletions

View file

@ -170,8 +170,10 @@
#### Linter
Updated the Linter to `1.29.0`, which includes changes that
Updated the Linter to `1.30.0`, which includes changes that
- add new lint: `enable_null_safety`.
- add new lint: `library_annotations`.
- add new lint: `dangling_library_doc_comments`.
- fix `no_leading_underscores_for_local_identifiers` to not report super formals
as local variables.

2
DEPS
View file

@ -136,7 +136,7 @@ vars = {
"intl_rev": "442193ccd19a8e36a07fcc3b3cac0e58c6f9c542",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_rev": "805e6536dd961d66f6b8cd46d8f3e61774f957c9",
"linter_rev": "657fa6d60373c144777ddb3ca0ab6ee7805ea2b3", # 1.29.0
"linter_rev": "8bce8b8b06c22716219207eb9d52beb93932ea44", # 1.30.0
"lints_rev": "16bdefe1df529262a6596f79e91003ddbdbd3890",
"logging_rev": "f322480fb9d9e83e677c08db6d09067059f7ff74",
"markdown_rev": "9ff4a9f1d37c763f827084ba28a3d0bfec6b5d67",

View file

@ -1801,6 +1801,8 @@ LintCode.empty_constructor_bodies:
status: hasFix
LintCode.empty_statements:
status: hasFix
LintCode.enable_null_safety:
status: needsEvaluation
LintCode.eol_at_end_of_file:
status: hasFix
LintCode.exhaustive_cases:
@ -1823,6 +1825,8 @@ LintCode.join_return_with_assignment:
status: needsEvaluation
LintCode.leading_newlines_in_multiline_strings:
status: hasFix
LintCode.library_annotations:
status: needsEvaluation
LintCode.library_names:
status: needsEvaluation
LintCode.library_prefixes: