Skip to content

Commit 962f772

Browse files
author
Honza Bittner
committed
Update
1 parent 1ae4682 commit 962f772

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
- Add avoid-nullable-tostring
77
- Add avoid-unused-after-null-check
88
- Add move-variable-outside-iteration
9+
- Add avoid-undisposed-instances
10+
- Add avoid-unassigned-stream-subscriptions
911
- Update prefer-switch-with-enums with `ignore-contains: true`
1012
- Remove DCM rules `match-class-name-pattern`, `tag-name`, `add-copy-with`, and `extend-equatable`, since we do not configure it (and added comment so we know it's ok)
1113

lib/dcm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ dart_code_metrics:
105105
- avoid-throw-objects-without-tostring
106106
- avoid-top-level-members-in-tests
107107
- avoid-unassigned-late-fields
108+
- avoid-unassigned-stream-subscriptions
108109
- avoid-uncaught-future-errors
109110
- avoid-unconditional-break
110111
- avoid-unnecessary-call
@@ -290,6 +291,7 @@ dart_code_metrics:
290291
- avoid-single-child-column-or-row
291292
- avoid-state-constructors
292293
- avoid-stateless-widget-initialized-fields
294+
- avoid-undisposed-instances
293295
- avoid-unnecessary-overrides-in-state
294296
- avoid-unnecessary-setstate
295297
- avoid-unnecessary-stateful-widgets

0 commit comments

Comments
 (0)