Skip to content

Commit

Permalink
Update Flint to Dart 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Pante committed Nov 17, 2023
1 parent a9052db commit 39c21dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion flint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
Expand Down
1 change: 1 addition & 0 deletions flint/lib/analysis_options.dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions flint/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 39c21dc

Please sign in to comment.