analysis_lints 1.0.4
analysis_lints: ^1.0.4 copied to clipboard
Unified analysis rules set for Flutter and Dart projects
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 ofruntimeTypein switch statements, promoting pattern matching insteadunnecessary_unawaited: Flags redundant uses of theunawaitedfunction 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 necessaryavoid_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.