mirror of
https://github.com/dart-lang/sdk
synced 2024-10-01 19:29:09 +00:00
linter 1.8.0
See: https://github.com/dart-lang/sdk/issues/46663 Change-Id: I836498caf61ee311a9c6674f20ab3a959bdc9e9f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207401 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
parent
f424f3a4cc
commit
cb5d0b39ca
20
CHANGELOG.md
20
CHANGELOG.md
|
@ -159,8 +159,26 @@
|
||||||
|
|
||||||
#### Linter
|
#### Linter
|
||||||
|
|
||||||
Updated the Linter to `1.7.0`, which includes changes that
|
Updated the Linter to `1.8.0`, which includes changes that
|
||||||
|
|
||||||
|
|
||||||
|
- improve performance for `prefer_is_not_empty`.
|
||||||
|
- fix false positives in `no_logic_in_create_state`.
|
||||||
|
- improve `package_names` to allow dart identifiers as package names.
|
||||||
|
- fix a false-positive in `package_names` (causing keywords to wrongly get flagged).
|
||||||
|
- fix `avoid_classes_with_only_static_member` to check for inherited members and also
|
||||||
|
flag classes with only methods.
|
||||||
|
- fix `curly_braces_in_flow_control_structures` to properly flag terminating `else-if`
|
||||||
|
blocks.
|
||||||
|
- improve `always_specify_types` to support type aliases.
|
||||||
|
- fix a false positive in `unnecessary_string_interpolations` w/ nullable interpolated
|
||||||
|
strings
|
||||||
|
- fix a false positive in `avoid_function_literals_in_foreach_calls` for nullable
|
||||||
|
iterables.
|
||||||
|
- fix false positives in `avoid_returning_null` w/ NNBD
|
||||||
|
- fix false positives in `use_late_for_private_fields_and_variables` in the presence
|
||||||
|
of const constructors.
|
||||||
|
- adds a new lint: `eol_at_end_of_file`.
|
||||||
- fix case-sensitive false positive in `use_full_hex_values_for_flutter_colors`.
|
- fix case-sensitive false positive in `use_full_hex_values_for_flutter_colors`.
|
||||||
- improve try-block and switch statement flow analysis for
|
- improve try-block and switch statement flow analysis for
|
||||||
`use_build_context_synchronously`.
|
`use_build_context_synchronously`.
|
||||||
|
|
2
DEPS
2
DEPS
|
@ -123,7 +123,7 @@ vars = {
|
||||||
"intl_tag": "0.17.0-nullsafety",
|
"intl_tag": "0.17.0-nullsafety",
|
||||||
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
|
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
|
||||||
"json_rpc_2_rev": "7e00f893440a72de0637970325e4ea44bd1e8c8e",
|
"json_rpc_2_rev": "7e00f893440a72de0637970325e4ea44bd1e8c8e",
|
||||||
"linter_tag": "422981ffb2fbd4010aa52381676cf745e2844dd9",
|
"linter_tag": "1.8.0",
|
||||||
"lints_tag": "f9670df2a66e0ec12eb51554e70c1cbf56c8f5d0",
|
"lints_tag": "f9670df2a66e0ec12eb51554e70c1cbf56c8f5d0",
|
||||||
"logging_rev": "575781ef196e4fed4fb737e38fb4b73d62727187",
|
"logging_rev": "575781ef196e4fed4fb737e38fb4b73d62727187",
|
||||||
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
|
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
|
||||||
|
|
Loading…
Reference in a new issue