PackageTrack
Sign in Get early access

lints

Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team.

6.1.0 9.1M downloads/mo #46 most downloaded on pub.dev dart-lang/core

What this package is like to depend on

Last release 6 months ago

30 Jan 2026

Ships fairly regularly

a new release about every 5 months

Nearly every release is documented

notes for 13 of 14 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

17 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

17 releases · Apr 2021 to Jan 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 17
  1. 6.1.0 30 Jan 2026
    Release notes
    Open source →
    Release notes
    • recommended:
    • Run dart format with the new style.
    Open source →
    Release notes
    Open source →
  2. 6.0.0 15 Apr 2025
    Release notes
    Open source →
    Release notes
    Open source →
  3. 5.1.1 20 Dec 2024
    Release notes
    • Updated the SDK lower bound to 3.6.
    • Move to dart-lang/core monorepo.
    Open source →
    Release notes
    • Updated the SDK lower bound to 3.6.
    • Move to dart-lang/core monorepo.
    Open source →
  4. 5.1.0 25 Sep 2024
    Release notes
    Open source →
  5. 5.0.0 25 Sep 2024
    Release notes
    Open source →
  6. 4.0.0 09 May 2024
    Release notes
    • core:
      • added library_annotations (https://github.com/dart-lang/lints/issues/177)
      • added no_wildcard_variable_uses (https://github.com/dart-lang/lints/issues/139)
      • removed package_prefixed_library_names (https://github.com/dart-lang/lints/issues/172)
    • recommended:
      • removed library_names (https://github.com/dart-lang/lints/issues/181)
    • Updated the SDK lower-bound to 3.1.
    • Add a section on upgrading to the latest lint set to the readme.
    Open source →
  7. 3.0.0 18 Oct 2023
    Release notes
    • core:
      • added collection_methods_unrelated_type
      • added dangling_library_doc_comments
      • added implicit_call_tearoffs
      • added secure_pubspec_urls
      • added type_literal_in_constant_pattern
      • added use_string_in_part_of_directives
      • removed iterable_contains_unrelated_type
      • removed list_remove_unrelated_type
    • recommended:
      • added unnecessary_to_list_in_spreads
      • added use_super_parameters
      • removed prefer_equal_for_default_values
      • removed prefer_void_to_null
    • Add info about which lints have quick fixes to the package's readme.
    • Move the list of lint rules from the readme to a separate rules.md file.
    Open source →
  8. 3.0.0-beta.2 28 Sep 2023 pre-release

    Nothing published for this version

  9. 3.0.0-beta 26 Sep 2023 pre-release

    Nothing published for this version

  10. 2.1.1 02 Jun 2023
    Release notes
    • Added the analysis and lints topics to the pubspec file.
    • Update the package's readme to include the list of lint rules that package:lints/core.yaml and package:lints/recommended.yaml include.
    Open source →
  11. 2.1.0 26 Apr 2023
    Release notes
    • Updated the SDK lower-bound to 3.0.
    • Removed always_require_non_null_named_parameters from recommended.yaml as it is only relevant in Dart pre 2.12 and with Dart 3.0, libraries can no longer be opted back that far.
    Open source →
  12. 2.0.1 20 Oct 2022
    Release notes
    • Updated documentation for the lib/core.yaml and lib/recommended.yaml analysis configurations.
    Open source →
  13. 2.0.0 17 Mar 2022
    Release notes
    • Added the following lints to core.yaml:
      • depend_on_referenced_packages
      • null_check_on_nullable_type_parameter
    • Added the following lints to recommended.yaml:
      • library_private_types_in_public_api
      • no_leading_underscores_for_library_prefixes
      • no_leading_underscores_for_local_identifiers
      • prefer_interpolation_to_compose_strings
      • unnecessary_constructor_name
      • unnecessary_late
      • unnecessary_null_aware_assignments
      • unnecessary_nullable_for_final_variable_declarations
    • Bumped the minimum required Dart SDK version to 2.17
    Open source →
  14. 1.0.1 12 May 2021
    Release notes
    • Documentation updates
    Open source →
  15. 1.0.0 12 May 2021
    Release notes
    • Initial stable version
    Open source →
  16. 1.0.0-dev.0 05 May 2021 pre-release

    Nothing published for this version

  17. 0.1.0 27 Apr 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive