Skip to content

Commit 433edd4

Browse files
replace avoid_unnecessary_type_casts rule with dart analyzer's unnecessary_cast
docs: update changelog
1 parent 249f81a commit 433edd4

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## 1.0.0
22

33
- feat!: migrate to analyzer_server_plugin
4-
- BREAKING CHANGE: removed `avoid_unnecessary_type_casts` rule, use dart linter's `unnecessary_cast` instead
4+
- refactor: replace `avoid_unnecessary_type_casts` rule with dart analyzer's `unnecessary_cast`
55

66
## 0.3.3
77

lib/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ analyzer:
3333
missing_required_param: error
3434
missing_return: error
3535
parameter_assignments: error
36+
unnecessary_cast: warning
3637

3738
custom_lint:
3839
rules:

0 commit comments

Comments
 (0)