@@ -27,6 +27,7 @@ dart_code_metrics:
27
27
- avoid-complex-arithmetic-expressions
28
28
- avoid-complex-loop-conditions
29
29
- avoid-conditions-with-boolean-literals
30
+ - avoid-constant-assert-conditions
30
31
# - avoid-continue # we prefer condition guards
31
32
- avoid-contradictory-expressions
32
33
- avoid-declaring-call-method
@@ -48,6 +49,7 @@ dart_code_metrics:
48
49
include-methods :
49
50
- blocTest
50
51
- blocPresentationTest
52
+ - avoid-enum-values-by-index
51
53
- avoid-equal-expressions
52
54
- avoid-excessive-expressions
53
55
- avoid-explicit-pattern-field-name
@@ -68,6 +70,7 @@ dart_code_metrics:
68
70
- test/**
69
71
- avoid-implicitly-nullable-extension-types
70
72
- avoid-importing-entrypoint-exports
73
+ - avoid-inconsistent-digit-separators
71
74
- avoid-incorrect-uri
72
75
- avoid-inferrable-type-arguments :
73
76
ignored-invocations :
@@ -96,6 +99,7 @@ dart_code_metrics:
96
99
# - avoid-mutating-parameters # we use ValueNotifier etc.
97
100
# - avoid-negated-conditions # sometimes it might be better
98
101
- avoid-negations-in-equality-checks
102
+ - avoid-nested-assignments
99
103
- avoid-nested-conditional-expressions :
100
104
acceptable-level : 2
101
105
- avoid-nested-extension-types
@@ -128,6 +132,7 @@ dart_code_metrics:
128
132
- avoid-passing-self-as-argument
129
133
- avoid-positional-record-field-access
130
134
- avoid-recursive-calls
135
+ - avoid-recursive-tostring
131
136
- avoid-redundant-async
132
137
- avoid-redundant-else
133
138
- avoid-redundant-positional-field-name
@@ -161,9 +166,11 @@ dart_code_metrics:
161
166
- avoid-unnecessary-block
162
167
- avoid-unnecessary-call
163
168
- avoid-unnecessary-collections
169
+ - avoid-unnecessary-compare-to
164
170
- avoid-unnecessary-conditionals
165
171
- avoid-unnecessary-constructor
166
172
- avoid-unnecessary-continue
173
+ - avoid-unnecessary-digit-separators
167
174
- avoid-unnecessary-enum-arguments
168
175
- avoid-unnecessary-enum-prefix
169
176
- avoid-unnecessary-extends
@@ -336,6 +343,7 @@ dart_code_metrics:
336
343
# - prefer-correct-throws # for now hard to maintain
337
344
- prefer-correct-type-name
338
345
- prefer-declaring-const-constructor
346
+ - prefer-digit-separators
339
347
- prefer-early-return
340
348
- prefer-enums-by-name
341
349
- prefer-expect-later
@@ -437,9 +445,12 @@ dart_code_metrics:
437
445
- check-for-equals-in-render-object-setters
438
446
- consistent-update-render-object
439
447
- dispose-fields
448
+ - pass-existing-future-to-future-builder
449
+ - pass-existing-stream-to-stream-builder
440
450
- prefer-action-button-tooltip
441
451
- prefer-align-over-container
442
452
- prefer-center-over-align
453
+ - prefer-compute-over-isolate-run
443
454
- prefer-const-border-radius
444
455
- prefer-container :
445
456
min-sequence : 2
0 commit comments