PackageTrack
Sign in Get early access

solid_lints

Lints for Dart and Flutter based on software industry standards and best practices.

0.3.3 3.4K downloads/mo #4440 most downloaded on pub.dev solid-software/solid_lints

What this package is like to depend on

Last release 1 months ago

25 Jul 2026

Release timing varies

gaps range from 2 weeks to 8 months

Nearly every release is documented

notes for 33 of 33 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

34 releases · first in 2021

3 releases in the last 12 months

see the full history below

Release timeline

34 releases · Dec 2021 to Jul 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 34
  1. 1.0.0-dev.1 25 Jul 2026 pre-release
    Release notes
    • feat!: migrate to analyzer_server_plugin
    • refactor: replace avoid_unnecessary_type_casts rule with dart analyzer's unnecessary_cast
    • Added use_nearest_context rule.
    • Added avoid_duplicate_code rule.
    • Added use_descriptive_names_for_type_parameters rule.
    • Added avoid_similar_names rule.
    • Added feature_envy rule.
    Open source →
  2. 0.3.3 05 Dec 2025
    Release notes
    • Fix pub.dev analysis issue
    Open source →
  3. 0.3.2 03 Dec 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 0.3.1...0.3.2

    Open source →
    Release notes
    • Added named_parameters_ordering rule.
    • Upgraded to analyzer: ^8.4.0 and custom_lint_builder: ^0.8.1
    Open source →
  4. 0.3.1 06 May 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 0.3.0...0.3.1

    Open source →
    Release notes
    • Added allow_with_comments parameter for no_empty_block lint.
    • Added extension support for avoid_using_api
    • Added exclude_entity parameter for prefer_match_file_name lint. It is now possible to configure this lint to ignore enum, extension and mixin declarations via analysis_options.yaml.
    Open source →
  5. 0.3.0 25 Feb 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 0.2.3...0.3.0

    Open source →
    Release notes
    • Added exclude parameter for the following lints:
      • avoid_returning_widgets
      • avoid_unused_parameters
      • cyclomatic_complexity
      • function_lines_of_code
      • no_empty_bloc
      • number_of_parameters
    • BREAKING CHANGE: Renamed excludeNames parameter to exclude for function_lines_of_code lint.
    • Fixed an issue with prefer_early_retrun for throw expression
    • number_of_parameters lint: added copyWith to the default exclude list.
    • Update dependencies:
      • Update min Dart SDK constraint to 3.5.0
      • Update analyzer dependency to 7.1.0
      • Update custom_lint_builder dependency to 0.7.1
    Open source →
  6. 0.2.3 19 Sep 2024
    Release notes

    What's Changed

    • Replace deprecated functions by @solid-glebvorobey in #180

    Full Changelog: 0.2.2...0.2.3

    Open source →
    Release notes
    • Replace deprecated whereNotNull()
    Open source →
  7. 0.2.2 19 Sep 2024
    Release notes

    What's Changed

    • Fixed docs linter issues by @solid-glebvorobey in #179

    Full Changelog: 0.2.1...0.2.2

    Open source →
    Release notes
    • Remove LintCode from documentation to improve scores and make it clearer
    Open source →
  8. 0.2.1 19 Sep 2024
    Release notes

    What's Changed

    • Fixed LintCode analyzer issues by @solid-glebvorobey in #178

    Full Changelog: 0.2.0...0.2.1

    Open source →
    Release notes
    • Fix LintCode issue
    Open source →
  9. 0.2.0 18 Sep 2024
    Release notes

    Fixed analyzer issue, fixed linter (#177)

    Open source →
    Release notes
    Open source →
  10. 0.1.5 26 Mar 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 0.1.4...0.1.5

    Open source →
    Release notes
    • Added avoid_debug_print rule
    • Fixed an issue with no_magic_number lint
    • Fixed avoid_unused_parameters to report positional parameters from typedef if their name are not underscores.
    • Improvement for avoid_returning_widget lint:
      • ignores methods that override ones that return widget (build() for example)
      • no longer allows returning widgets from methods/functions named build
    • Fixed unexpected avoid_unnecessary_type_assertions
    • Added excludeNames param for function_lines_of_code lint
    • Improved avoid_unrelated_type_assertions to support true and false results
    • Set default cyclomatic_complexity to 10 (https://github.com/solid-software/solid_lints/issues/146) Credits: Arthur Miranda (https://github.com/arthurbcd)
    Open source →
  11. 0.1.4 21 Feb 2024
    Release notes

    What's Changed

    Full Changelog: 0.1.3...0.1.4

    Open source →
    Release notes
    • Removed deprecated lints:
      • always_require_non_null_named_parameters
      • avoid_returning_null_for_future
    Open source →
  12. 0.1.3 06 Feb 2024
    Release notes
    • Bumped custom_lint package to 0.6.0 version
    Open source →
  13. 0.1.2 30 Jan 2024
    Release notes
    • Moved implementation into the src folder
    Open source →
  14. 0.1.1 24 Jan 2024
    Release notes
    • Add example readme
    • Update dependencies
    Open source →
  15. 0.1.0 19 Jan 2024
    Release notes
    • Remove DCM as a dependency
    • Add custom_lint and integrate/redo lints from DCM using custom_lint:
      • avoid_global_state
      • avoid_late_keyword
      • avoid_non_null_assertion
      • avoid_returning_widgets
      • avoid_unnecessary_setstate
      • avoid_unnecessary_type_assertions
      • avoid_unnecessary_type_casts
      • avoid_unrelated_type_assertions
      • avoid_unused_parameters
      • avoid_using_api Credits: getBoolean (https://github.com/getBoolean)
      • cyclomatic_complexity
      • double_literal_format
      • function_lines_of_code
      • member_ordering
      • newline_before_return
      • no_empty_block
      • no_equal_then_else
      • no_magic_number
      • number_of_parameters
      • prefer_conditional_expressions
      • prefer_first
      • prefer_last
      • prefer_match_file_name
      • proper_super_calls
    Open source →
  16. 0.0.19 17 Aug 2023
    Release notes
    • Add rules
      • avoid_final_parameters
      • conditional_uri_does_not_exist
      • no_leading_underscores_for_library_prefixes
      • no_leading_underscores_for_local_identifiers
      • noop_primitive_operations
      • prefer_adjacent_string_concatenation
      • prefer_foreach
      • secure_pubspec_urls
      • sized_box_shrink_expand
      • unnecessary_breaks
      • unnecessary_lambdas
      • unnecessary_to_list_in_spreads
      • use_raw_strings
    • Bump minimum supported sdk to 3.0.0
    Open source →
  17. 0.0.18 27 Jul 2023
    Release notes
    • Add rules
      • use_super_parameters
      • always_put_required_named_parameters_first
      • avoid_redundant_argument_values
    Open source →
  18. 0.0.17 20 Jul 2023
    Release notes
    • Lock DCM version as they switch to proprietary license.
    Open source →
  19. 0.0.16 15 May 2023
    Release notes
    • Update dart_code_metrics dependency to 5.7.3
    • Rename deprecated member-ordering-extended to member-ordering
    • Add rule for widgets methods order configuration:
      • initState
      • build
      • didChangeDependencies
      • didUpdateWidget
      • deactivate
      • dispose
    Open source →
  20. 0.0.15 11 May 2023
    Release notes
    • Add support for Dart 3
    Open source →
  21. 0.0.14 27 Jan 2023
    Release notes
    • Disabe invariant_booleans as it is deprecated in Flutter 3.7
    Open source →
  22. 0.0.13 02 Jan 2023
    Release notes
    • enable use_colored_box & use_decorated_box + add more comments about specific lints
    Open source →
  23. 0.0.12 26 Jul 2022
    Release notes
    • Update to the latest DCM to make sure that it works with latest flutter.
    Open source →
  24. 0.0.11 24 Mar 2022
    Release notes
    • Disabe do_not_use_environment as we need to for Flutter for web
    Open source →
  25. 0.0.10 10 Feb 2022
    Release notes
    • Update dart_code_metrics dependency to 4.10.1
    • Ignore mockito mocks generated to be alongside source test files
    Open source →
  26. 0.0.9 26 Jan 2022
    Release notes
    • Remove diagnostic_describe_all_properties rule
    • Disable cyclomatic complexity metric for tests
    Open source →
  27. 0.0.8 21 Jan 2022
    Release notes
    • Exclude generated files
    Open source →
  28. 0.0.7 14 Jan 2022
    Release notes
    • Add more useful DCM rules.
    Open source →
  29. 0.0.6 05 Jan 2022
    Release notes
    • Add a separate anayisis options file for tests
    Open source →
  30. 0.0.5 04 Jan 2022
    Release notes
    • Remove the sort_constructors_first rule
    Open source →
  31. 0.0.4 04 Jan 2022
    Release notes
    • Set maximum method length to 200
    • Set maximum parameters list length to 7
    Open source →
  32. 0.0.3 28 Dec 2021
    Release notes
    • Configure rules based on Flutter 2.5 (Dart 2.14.4)
    Open source →
  33. 0.0.2 28 Dec 2021
    Release notes
    • Updated readme
    Open source →
  34. 0.0.1 28 Dec 2021
    Release notes
    • Preview
    Open source →

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