Skip to content

Releases: dart-lang/linter

1.24.0

18 May 21:53
@pq pq
a8529c6
Compare
Choose a tag to compare

1.24.0

  • fix prefer_final_parameters to support super parameters
  • new lint: unnecessary_to_list_in_spreads
  • fix unawaited_futures to handle string interpolated futures
  • update use_colored_box to not flag nullable colors
  • new lint: unnecessary_null_aware_operator_on_extension_on_nullable

1.23.0

05 May 19:59
@pq pq
4305b93
Compare
Choose a tag to compare

1.23.0

  • fixed no_leading_underscores_for_local_identifiers
    to lint local function declarations
  • fixed avoid_init_to_null to correctly handle super
    initializing defaults that are non-null
  • updated no_leading_underscores_for_local_identifiers
    to allow identifiers with just underscores
  • fixed flutter_style_todos to support usernames that
    start with a digit
  • updated require_trailing_commas to handle functions
    in asserts and multi-line strings
  • updated unsafe_html to allow assignments to
    img.src
  • fixed unnecessary_null_checks to properly handle map
    literal entries

1.22.0

28 Mar 18:02
@pq pq
14c916a
Compare
Choose a tag to compare

1.22.0

  • fixed false positives for unnecessary_getters_setters
    and prefer_final_fieldswith enhanced enums
  • updated to analyzer 3.4.0 APIs
  • fixed null-safe variance in invariant_booleans

1.21.2

21 Mar 16:42
@pq pq
582986b
Compare
Choose a tag to compare

1.21.2

  • several use_super_parameters false positive fixes
  • updated depend_on_referenced_packages to treat
    flutter_gen as a virtual package, not needing an
    explicit dependency

1.21.1

18 Mar 16:19
@pq pq
bced222
Compare
Choose a tag to compare

1.21.1

  • bumped language lower-bound constraint to 2.15.0

1.21.0

17 Mar 19:25
@pq pq
f325866
Compare
Choose a tag to compare

1.21.0

  • fixed use_key_in_widget_constructors false positive
    with key super parameter initializers
  • fixed use_super_parameters false positive with field
    formal params
  • updated unnecessary_null_checks and
    null_check_on_nullable_type_parameter to handle
    list/set/map literals, and yield and await
    expressions

1.20.0

14 Mar 22:28
@pq pq
ed26087
Compare
Choose a tag to compare

1.20.0

  • renamed use_super_initializers to use_super_parameters
  • fixed unnecessary_null_aware_assignments property-access
    false positive

1.19.2

08 Mar 22:22
@pq pq
4eaae25
Compare
Choose a tag to compare

1.19.2

  • new lint: use_super_initializers
  • new lint: use_enums
  • new lint: use_colored_box
  • performance improvements for sort_constructors
  • doc improvements for always_use_package_imports,
    avoid_print, and avoid_relative_lib_imports
  • update avoid_void_async to skip main functions
  • update prefer_final_parameters to not super on super params
  • lint updates for enhanced-enums and super-initializer language
    features
  • updated unnecessary_late to report on the variable name
  • marked null_check_on_nullable_type_parameter stable

1.19.1

08 Mar 17:10
@pq pq
70db7c8
Compare
Choose a tag to compare

1.19.1

  • new lint: use_super_initializers
  • new lint: use_enums
  • new lint: use_colored_box
  • performance improvements for sort_constructors
  • doc improvements for always_use_package_imports,
    avoid_print, and avoid_relative_lib_imports
  • update avoid_void_async to skip main functions
  • update prefer_final_parameters to not super on super params
  • lint updates for enhanced-enums and super-initializer language
    features
  • updated unnecessary_late to report on the variable name
  • marked null_check_on_nullable_type_parameter stable

1.19.0

07 Mar 21:35
@pq pq
a88e474
Compare
Choose a tag to compare

1.19.0

  • new lint: user_super_initializers
  • new lint: use_enums
  • new lint: used_colored_box
  • performance improvements for sort_constructors
  • doc improvements for always_use_package_imports,
    avoid_print, and avoid_relative_lib_imports
  • update avoid_void_async to skip main functions
  • update prefer_final_parameters to not super on super params
  • lint updates for enhanced-enums and super-initializer language
    features
  • updated unnecessary_late to report on the variable name
  • marked null_check_on_nullable_type_parameter stable