@@ -6,7 +6,7 @@ dart_code_metrics:
6
6
- avoid-accessing-collections-by-constant-index
7
7
- avoid-accessing-other-classes-private-members
8
8
- avoid-async-call-in-sync-function
9
- # - avoid-banned-file-names # * OK, we just don't have global config
9
+ # - avoid-banned-file-names # * OK, we just don't have global config
10
10
# - avoid-banned-imports # * OK, we just don't have global config
11
11
# - avoid-banned-types # * OK, we just don't have global config
12
12
# - avoid-barrel-files # for now we use them
@@ -40,7 +40,7 @@ dart_code_metrics:
40
40
# - avoid-long-files # hard to get the right settings
41
41
# - avoid-long-functions # way too pedantic
42
42
# - avoid-long-parameter-list: # way too pedantic
43
- # ignore-optional: true # exclude optional and (non-required) named parameters
43
+ # ignore-optional: true # exclude optional and (non-required) named parameters
44
44
- avoid-long-records
45
45
- avoid-map-keys-contains
46
46
- avoid-missed-calls
@@ -113,7 +113,7 @@ dart_code_metrics:
113
113
- avoid-unused-parameters
114
114
- avoid-weak-cryptographic-algorithms
115
115
- avoid-wildcard-cases-with-enums
116
- # - banned-usage
116
+ # - banned-usage # * OK, we just don't have global config
117
117
- binary-expression-operand-order
118
118
- double-literal-format
119
119
- enum-constants-ordering
@@ -201,7 +201,7 @@ dart_code_metrics:
201
201
- prefer-enums-by-name
202
202
- prefer-explicit-parameter-names
203
203
- prefer-first
204
- # - prefer-getter-over-method # way to pedantic
204
+ # - prefer-getter-over-method # way too pedantic
205
205
- prefer-immediate-return
206
206
- prefer-iterable-of
207
207
- prefer-last
@@ -213,7 +213,7 @@ dart_code_metrics:
213
213
exclude :
214
214
- test/**
215
215
- prefer-named-boolean-parameters
216
- # - prefer-named-imports # ok, but we don't have a usecase now
216
+ # - prefer-named-imports # * OK, we just don't have global config
217
217
- prefer-parentheses-with-if-null
218
218
- prefer-public-exception-classes
219
219
- prefer-return-await
@@ -226,7 +226,7 @@ dart_code_metrics:
226
226
- use(.*)
227
227
- prefer-test-matchers
228
228
- prefer-trailing-comma
229
- # - prefer-type-over-var # we prefer inference
229
+ # - prefer-type-over-var # we prefer type inference
230
230
# - prefer-unwrapping-future-or # we are ok with awaiting values
231
231
- prefer-visible-for-testing-on-members
232
232
- avoid-missing-interpolation :
@@ -271,7 +271,7 @@ dart_code_metrics:
271
271
- prefer-sliver-prefix
272
272
- prefer-text-rich
273
273
- prefer-using-list-view
274
- # - prefer-widget-private-members # cannot use this.field in constructor
274
+ - prefer-widget-private-members
275
275
- proper-super-calls
276
276
- use-setstate-synchronously
277
277
@@ -304,10 +304,10 @@ dart_code_metrics:
304
304
- prefer-custom-finder-over-find
305
305
- prefer-symbol-over-key
306
306
307
- # # Fake Async
307
+ # ## Fake Async
308
308
- avoid-async-callback-in-fake-async
309
309
310
- # # Get It
310
+ # ## Get It
311
311
- avoid-functions-in-register-singleton :
312
312
severity : error
313
313
@@ -330,7 +330,7 @@ dart_code_metrics:
330
330
# - avoid-dependency-overrides
331
331
# - banned-dependencies # * OK, we just don't have global config
332
332
- prefer-caret-version-syntax
333
- # - prefer-correct-package-name
333
+ # - prefer-correct-package-name # * OK, we just don't have global config
334
334
- prefer-correct-screenshots
335
335
- prefer-publish-to-none
336
336
- prefer-semver-version
0 commit comments