analysis_lints 1.1.0 copy "analysis_lints: ^1.1.0" to clipboard
analysis_lints: ^1.1.0 copied to clipboard

Unified analysis rules set for Flutter and Dart projects

1.1.0 - 2026-08-14 #

  • feat: add Dart 3.13 primary-constructor lints — empty_container_bodies, initialize_in_field_declaration, unnecessary_const_in_enum_constructor, unnecessary_primary_constructor_body, unnecessary_type_name_in_constructor, use_declaring_parameters
  • chore: raise SDK floor to >=3.13.0 (required for new lints)
  • fix: remove deprecated lint rules that triggered deprecated_lint warnings — avoid_null_checks_in_equality_operators, avoid_private_typedef_functions, unnecessary_await_in_return, use_if_null_to_convert_nulls_to_bools (removed from both analyzer.errors and linter.rules)

1.0.9 - 2027-01-31 #

  • chore: bump version to 1.0.9 and update SDK and dependencies

1.0.8 - 2027-01-31 #

  • chore: bump version to 1.0.8 and update SDK and dependencies

1.0.7 - 2027-01-31 #

  • chore: bump version to 1.0.7 and update SDK and dependencies

1.0.6 - 2027-01-31 #

  • chore: bump version to 1.0.6 and update SDK and dependencies

1.0.5 - 2025-01-27 #

Added #

  • Example Package: Added comprehensive example demonstrating package usage
    • example/main.dart: Basic usage example with clear instructions
    • example/pubspec.yaml: Proper dependency configuration
    • example/README.md: Detailed usage guide and documentation
    • example/analysis_options.yaml: Analysis rules configuration example

Changed #

  • Package Structure: Improved package structure to meet pub.dev standards
  • Documentation: Enhanced documentation with practical examples

1.0.4 - 2025-10-13 #

Added #

  • Linter Rules: Added support for two new linter rules introduced in Flutter 3.9.0:
    • switch_on_type: Discourages the use of runtimeType in switch statements, promoting pattern matching instead
    • unnecessary_unawaited: Flags redundant uses of the unawaited function on expressions already marked with @awaitNotRequired

Changed #

  • Severity Levels: Set the severity level for the new linter rules to warning

Removed #

  • Deprecated Rules: Removed deprecated linter rules:
    • avoid_as: Deprecated rule, modern Dart allows type casting when necessary
    • avoid_catches_without_on_clauses: Overly strict rule removed for flexibility

1.0.3 #

  • TODO: avoid_catching_errors lint rule removed.

1.0.2 #

  • TODO: Lints and formatting.

1.0.1 #

  • TODO: Describe initial release.

1.0.0 #

  • TODO: Describe initial release.
6
likes
160
points
311
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Unified analysis rules set for Flutter and Dart projects

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter_lints, lints

More

Packages that depend on analysis_lints