This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
Releases: dart-lang/linter
Releases · dart-lang/linter
1.18.0
1.18.0
- extend
camel_case_types
to cover enums - fix
no_leading_underscores_for_local_identifiers
to not
mis-flag field formal parameters with default values - fix
prefer_function_declarations_over_variables
to not
mis-flag non-final fields - performance improvements for
prefer_contains
- update
exhaustive_cases
to skip deprecated values that
redirect to other values
1.17.1
1.17.0
1.16.0
1.15.0
1.15.0
- new lint:
use_decorated_box
- new lint:
no_leading_underscores_for_library_prefixes
- new lint:
no_leading_underscores_for_local_identifiers
- new lint:
secure_pubspec_urls
- new lint:
sized_box_shrink_expand
- new lint:
avoid_final_parameters
- improved docs for
omit_local_variable_types
1.14.0
1.13.0
1.13.0
- allow
while (true) { ...}
inliteral_only_boolean_expressions
- fixed
file_names
to report at the start of the file (not the entire
compilation unit) - fixed
prefer_collection_literals
named typed param false positive - control flow improvements for
use_build_context_synchronously
1.12.0
1.12.0
- fixed
unnecessary_lambdas
false positive for const constructor invocations - updated
avoid_print
to allowkDebugMode
-wrapped print calls - fixed handling of initializing formals in
prefer_final_parameters
- fixed
unnecessary_parenthesis
false positive with function expressions
1.11.0
1.10.0
1.10.0
- improved regular expression parsing performance for common checks
(camel_case_types
,file_names
, etc.) - (internal) migrated to analyzer 2.1.0 APIs
- fixed false positive in
use_build_context_synchronously
in awaits inside
anonymous functions - fixed
overridden_fields
false positive w/ static fields - fixed false positive in
avoid_null_checks_in_equality_operators
w/
non-nullable params - fixed false positive for deferred imports in
prefer_const_constructors