diff --git a/flint/CHANGELOG.md b/flint/CHANGELOG.md index a375e400..60f1bbcc 100644 --- a/flint/CHANGELOG.md +++ b/flint/CHANGELOG.md @@ -1,10 +1,14 @@ # 2.9.0 (NEXT) +This update focuses on lint rules introduce in Dart 3.2.0. + +Core ruleset: +- Add `annotate_redeclares` Flutter ruleset: - Add `avoid_web_libraries_in_flutter` - Add `no_logic_in_create_state` - Add `use_colored_box` -- ADd `use_decorated_box` +- Add `use_decorated_box` # 2.8.1 (17/08/2023) - Remove `unreachable_from_main` diff --git a/flint/lib/analysis_options.dart.yaml b/flint/lib/analysis_options.dart.yaml index b6fa08bb..d44ebdb5 100644 --- a/flint/lib/analysis_options.dart.yaml +++ b/flint/lib/analysis_options.dart.yaml @@ -5,6 +5,7 @@ linter: - always_put_required_named_parameters_first - always_use_package_imports - annotate_overrides + - annotate_redeclares - avoid_bool_literals_in_conditional_expressions - avoid_catches_without_on_clauses - avoid_catching_errors diff --git a/flint/pubspec.yaml b/flint/pubspec.yaml index 120c3b5a..64a43d76 100644 --- a/flint/pubspec.yaml +++ b/flint/pubspec.yaml @@ -1,11 +1,11 @@ name: flint description: Analyzer lints used internally in Forus Labs' Dart & Flutter projects. -version: 2.8.1 +version: 2.9.0 homepage: https://github.com/forus-labs/cauldron repository: https://github.com/forus-labs/cauldron environment: - sdk: '>=3.1.0 <4.0.0' + sdk: '>=3.2.0 <4.0.0' dev_dependencies: html: ^0.15.0