lint_hard
All the lints except where they clash.
8.0.1
2.5K downloads/mo
#4939 most downloaded on pub.dev
noojee/lint_hard
What this package is like to depend on
Last release 7 days ago
17 Aug 2026
Release timing varies
gaps range from 2 weeks to 1.2 years
Nearly every release is documented
notes for 22 of 23 stable releases
1 version withdrawn
withdrawn after publishing
5 years old
27 releases · first in 2021
7 releases in the last 12 months
see the full history below
Release timeline
27 releases · Dec 2021 to Aug 2026
2022
2023
2024
2025
2026
Releases
latest 27-
8.0.117 Aug 2026Release notes
Open source →- removed the older conflicting lint async_return_with_no_await. Dart now recommends the newer async_return_with_no_await for cleaner stack traces.
-
8.0.016 Aug 2026Release notes
Open source →- require Dart 3.13 or later.
- add the lint rules introduced in Dart 3.11, 3.12, and 3.13.
-
7.1.228 Jan 2026Release notes
Open source →- removed the lint simplify_variable_pattern as it isn't available until 3.11
-
7.1.120 Jan 2026Release notes
Open source →- split the document_throws code into its own package and now depend on that.
- numerous fixes to document_throws.
-
7.1.019 Jan 2026Release notes
Open source →- added the
throwing_unthrown_exceptionlint for@Throwingtypes that are not thrown. - improved
document_throws_fixhandling for provenance cleanup and doc comment formatting. - clarified plugin configuration and documentation.
- added the
-
7.0.115 Jan 2026Release notes
Open source →- re-ordered the readme so that the install instructions are closer to the top.
-
7.0.015 Jan 2026Release notes
Open source →- implemented new lint: document_thrown_exceptions that warns when a method has not documented a throws clause.
- migrated the code away from custom_lint to the analyzer v9 package.
- UPGRADE: if upgrading from lint_hard 6.x you will need to include a plugin declaration in your analysis_options.yaml file to activate the custom lints in lint_hard. See the README.md for details.
-
6.2.115 Aug 2025Release notes
Open source →- disabled type_annotate_public_apis as it is incompatible wiht omit_obvious_property_types which I consider the more important lint for most users. If you are a package maintainer you should re-enable type_annotate_public_apis for your public api's.
-
6.2.009 Aug 2025Release notes
Open source →- added custom lint 'fields_first_constructors_next' which places fields before constructors so that the state of a class is at the top and together.
-
6.1.130 Apr 2025Release notes
Open source →- removed unsafe_variance. It's experimental and the suggested fixes seem overly complicated and you still have to suppress the warning.
-
6.1.029 Apr 2025Release notes
Open source →Added new lints:
- omit_obvious_property_types
- deprecated_member_use_from_same_package
- unsafe_variance
-
6.0.019 Feb 2025 -
5.0.019 Jul 2024 -
4.0.015 May 2023Release notes
Open source →- removed prefer_foreach because I prefer a for loop.
- upgraded to dart 3.0
-
3.0.107 Feb 2023 -
3.0.004 Jan 2023 withdrawnNothing published for this version
-
3.0.0-beta.415 Jan 2023 pre-releaseRelease notes
Open source →- removed strong mode as it is deprecaed in favour of the new
- removed implict-casts as its no longer required and has been removed in 3.x
-
3.0.0-beta.204 Jan 2023 pre-releaseRelease notes
Open source →- disabled no_leading_underscores_for_local_identifiers as its useful in callbacks that have a parameter we don't want to use.
-
3.0.0-beta.131 Dec 2022 pre-releaseRelease notes
Open source →- added latest lints from dart 2.19 and upgraded minimum sdk version to 2.19.
-
2.1.117 Sep 2022Release notes
Open source →- improved the readme.
- removed invariant_booleans as it has been deprecated.
-
2.1.019 Aug 2022 -
2.0.012 Jun 2022Release notes
Open source →- updated list of lints to support the latest .
- Added discared futures.
- Added copyright notices.
- test for unawaited futures.
-
1.0.407 Jan 2022 -
1.0.321 Dec 2021 -
1.0.218 Dec 2021Nothing published for this version
-
1.0.109 Dec 2021 -
1.0.009 Dec 2021