altive_lints
Analyzer-independent lint presets with Altive's recommended rule selection and optional Analyzer Plugin integration.
4.1.0
altive/altive_lints
What this package is like to depend on
Last release 12 days ago
12 Aug 2026
Ships fairly regularly
a new release about every 3 weeks
Nearly every release is documented
notes for 42 of 42 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
45 releases · first in 2022
14 releases in the last 12 months
see the full history below
Release timeline
45 releases · Apr 2022 to Aug 2026Releases
latest 45-
4.1.012 Aug 2026Release notes
Open source →- FEAT: update all_lint_rules (#132).
- FEAT:
future_sync_valueandunnecessary_this_aliasremain enabled in the recommended preset, while the experimental, migration-specificmigrate_design_widgetsrule is disabled.
-
4.0.023 Jul 2026Release notes
Open source →Breaking changes
- Split the Analyzer Plugin implementation into the separately resolved
altive_lints_pluginpackage. - Remove all analyzer dependencies from
altive_lints, allowing its presets to resolve in Flutter 3.44.7 workspaces that usetest_api 0.7.11. - Change custom diagnostic ignore prefixes from
altive_lints/toaltive_lints_plugin/.
Migration
- Keep
altive_lints: ^4.0.0indev_dependenciesand continue includingpackage:altive_lints/altive_lints.yaml. - Do not add
altive_lints_pluginto the consuming package's dependencies. - Change existing ignore prefixes from
altive_lints/toaltive_lints_plugin/. - Rename custom
plugins.altive_lintsconfiguration toplugins.altive_lints_pluginand change its version to^1.0.0. - Restart the Dart Analysis Server after updating analysis options.
- On Flutter 3.44.x, use
dart analyzewhen command-line output must include Analyzer Plugin diagnostics. - To use only the analyzer-independent YAML preset, include
package:altive_lints/altive_lints_preset.yaml.
- Split the Analyzer Plugin implementation into the separately resolved
-
3.1.022 Jul 2026Release notes
Open source →- FEAT: update all_lint_rules (#130).
- FEAT: enhance
prefer_clock_now(#125).- Report
DateTime.timestamp()in addition toDateTime.now(). - Add quick fixes for
DateTime.now()→clock.now()andDateTime.timestamp()→clock.now().toUtc()when theclockpackage is available, including safe import and prefix handling.
- Report
- DOCS: update the Analyzer Plugin configuration example for 3.x.
-
3.0.012 Jun 2026Release notes
Open source →-
Update analyzer plugin dependencies for newer Dart analyze plugin entrypoints.
-
Keep dependency resolution compatible with Flutter 3.44.x meta 1.18.0 pin.
-
Update bundled plugin configuration to resolve altive_lints 3.x.
-
Update all_lint_rules (#129).
Release notes
Open source →This release updates the analyzer plugin dependencies so that
package:altive_lints/altive_lints.yamlcan be used withdart analyzeon newer Dart and Flutter SDKs.Breaking changes
- Updated the analyzer plugin dependency stack:
analysis_server_pluginto>=0.3.15 <0.3.16analyzerto>=13.0.0 <13.1.0analyzer_pluginto>=0.14.9 <0.14.10analyzer_testingto^0.2.6
- The minimum Dart SDK remains Dart 3.10.0, as declared by this package.
- The analyzer plugin dependency range is capped below
analysis_server_plugin0.3.16 so that Flutter SDKs that pinmetato 1.18.0, such as Flutter 3.44.x, do not conflict onmetaalone.
Fixed
- Fixed dependency resolution failures in the temporary
plugin_entrypointpackage generated bydart analyzefor analyzer plugins on newer SDKs. - Updated the bundled analyzer plugin configuration to resolve
altive_lints3.x instead of 2.x. - Updated custom lint and assist implementations for the current analyzer AST
APIs, including
NamedArgument,ClassDeclaration.namePart, andBlockClassBody.
Updated lint rules
- FEAT: update all_lint_rules (#129).
-
-
2.3.001 Apr 2026 -
2.2.011 Mar 2026 -
2.1.024 Dec 2025Release notes
Open source →- FEAT: update all_lint_rules (#124).
- CHORE: remove dependency on package:collection.
-
2.0.009 Dec 2025Release notes
Open source →A stable release for altive_lints 2.0.
- Upgrade minimum required Dart SDK version to 3.10.0.
- Upgrade minimum required analyzer version to 9.0.0.
- FEAT: Migrate to Analyzer Plugin (analysis_server_plugin) from custom_lint.
- FEAT: prefer_dedicated_media_query_methods warns against using MediaQuery.sizeOf(context).width/height. use MediaQuery.widthOf(context) and MediaQuery.heightOf(context) instead.
-
2.0.0-dev.307 Dec 2025 pre-releaseRelease notes
Open source →- DOCS: Fix the notation for enabling the plugin in README.md.
- FIX: Change plugin specification in altive_lints from path to version.
-
2.0.0-dev.205 Dec 2025 pre-releaseRelease notes
Open source →- FIX: Changed the AnalysisRule that had been registered as a Warning rule to be registered as a Lint rule.
-
2.0.0-dev.105 Dec 2025 pre-releaseRelease notes
Open source →- Bumped minimum Dart SDK to 3.10 (required by the analyzer plugin).
- Raised supported minimum analyzer version from 7 to 8.
- FEAT: Migrate to analysis_server_plugin from custom_lint.
- FEAT: prefer_dedicated_media_query_methods warns against using MediaQuery.sizeOf(context).width/height. use MediaQuery.widthOf(context) and MediaQuery.heightOf(context) instead.
-
1.25.019 Nov 2025 -
1.24.005 Nov 2025 -
1.23.012 Sep 2025Release notes
Open source →- FEAT: specify_nonobvious_property_types: false (#112).
- FEAT: update all_lint_rules (#111).
-
1.22.126 Aug 2025 -
1.22.020 Aug 2025Release notes
Open source →- FEAT: Update all lint rules (#105).
- FEAT: update avoid_single_child lint to include SliverMainAxisGroup and SliverCrossAxisGroup (#103).
- Update the minimum Dart SDK version to 3.5.0. (using pub_workspace and Melos v7)
-
1.21.031 May 2025 -
1.20.022 May 2025Release notes
Open source → -
1.19.128 Feb 2025 -
1.19.013 Feb 2025 -
1.18.025 Dec 2024 -
1.17.016 Dec 2024Release notes
Open source → -
1.16.024 Nov 2024Release notes
Open source →- FIX: No warning if the number of elements in the spread operator using the if statement is more than two. (#74). (ad65c006) for
avoid_single_child. - FIX: Resolved warnings false detection in ColorScheme definition (#73). (4dc4b4e6) for
avoid_hardcoded_color. - FEAT: update all_lint_rules (#76). (de9ac8ca)
- FIX: No warning if the number of elements in the spread operator using the if statement is more than two. (#74). (ad65c006) for
-
1.15.001 Nov 2024Release notes
Open source → -
1.14.108 Oct 2024Release notes
Open source → -
1.14.004 Oct 2024Release notes
Open source →- FEAT: Update all lint rules (#61). (cd146c86)
- add new rules to
all_lint_rules.yamlthat are available from Dart 3.5.- document_ignores
- invalid_runtime_check_with_js_interop_types
- The altive_lints enable these rules.
- add new rules to
- FEAT: Update all lint rules (#61). (cd146c86)
-
1.13.004 Oct 2024 -
1.12.102 Sep 2024 -
1.12.028 Aug 2024 -
1.11.215 Aug 2024 -
1.11.131 Jul 2024Release notes
Open source → -
1.11.031 Jul 2024Release notes
Open source →Add Custom Lint
If you want to adopt it, specify custom_lints in analysis_options.yaml. Detailed notation is here: altive_lints/example/analysis_options.yaml
- FEAT: Add
prefer_sliver_prefixrule (#32). (6c941e72) - FEAT: Add
prefer_clock_nowrule (#35). (e5b056ad) - FEAT: Add
prefer_dedicated_media_query_methodsrule (#34). (945d5e85) - FEAT: Add
prefer_space_between_elementsrule (#33). (1534bffd) - FEAT: Add
avoid_consecutive_sliver_to_box_adapterrule (#29). (8a22122a) - FEAT: Add
avoid_hardcoded_colorrule (#31). (4cfce859) - FEAT: Add
avoid_single_childrule (#30). (ac57d755) - FEAT: Add
avoid_shrink_wrap_in_list_viewrule (#28). (b36d165b) - FEAT: Set up custom lint (#27). (f6958263)
- FEAT: Add
-
1.10.008 Apr 2024Release notes
Open source → -
1.9.017 Nov 2023Release notes
Open source → -
1.8.114 Aug 2023 -
1.8.014 Aug 2023Release notes
Open source →- FEAT: update all_lint_rules.yaml. (cd008cb7)
- add new rules to
all_lint_rules.yaml
- add new rules to
- FEAT: update all_lint_rules.yaml. (cd008cb7)
-
1.7.012 May 2023Release notes
Open source →- FEAT: update all_lint_rules.yaml with Flutter 3.10 / Dart 3.0 (#2). (1f4c5abf)
- add new rules to
all_lint_rules.yamldeprecated_member_use_from_same_packageimplicit_reopeninvalid_case_patternsmatching_super_parametersno_literal_bool_comparisonstype_literal_in_constant_patternunnecessary_breaks
- remove from
all_lint_rules.yamlenable_null_safety
- add new rules to
- FEAT: update all_lint_rules.yaml with Flutter 3.10 / Dart 3.0 (#2). (1f4c5abf)
-
1.6.126 Jan 2023 -
1.6.026 Jan 2023Release notes
Open source →- FEAT: update
all_lint_rules.yamlwith Flutter 3.7 / Dart 2.19. (f464f8d3)- remove from
all_lint_rules.yamlas it has been deprecatedalways_require_non_null_named_parametersavoid_returning_nullavoid_returning_null_for_futureprefer_equal_for_default_values
- add new rules
collection_methods_unrelated_typedangling_library_doc_commentsenable_null_safetyimplicit_call_tearoffslibrary_annotationsunnecessary_library_directive
- remove from
- FEAT: update
-
1.5.006 Sep 2022 -
1.4.005 Sep 2022 -
1.3.028 Jul 2022 -
1.2.027 May 2022 -
1.1.012 May 2022 -
1.0.015 Apr 2022