@@ -6,9 +6,9 @@ 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
10
- # - avoid-banned-imports
11
- # - avoid-banned-types
9
+ # - avoid-banned-file-names # * OK, we just don't have global config
10
+ # - avoid-banned-imports # * OK, we just don't have global config
11
+ # - avoid-banned-types # * OK, we just don't have global config
12
12
# - avoid-barrel-files # for now we use them
13
13
- avoid-bottom-type-in-patterns
14
14
- avoid-bottom-type-in-records
@@ -185,7 +185,9 @@ dart_code_metrics:
185
185
- prefer-bytes-builder
186
186
- prefer-commenting-analyzer-ignores
187
187
- prefer-conditional-expressions
188
- # - prefer-correct-error-name # we use `e`
188
+ - prefer-correct-error-name :
189
+ allowed-names :
190
+ - e
189
191
- prefer-correct-for-loop-increment
190
192
- prefer-correct-future-return-type
191
193
# - prefer-correct-identifier-length # way too pedantic
@@ -326,7 +328,7 @@ dart_code_metrics:
326
328
# ## Pubspec
327
329
- avoid-any-version
328
330
# - avoid-dependency-overrides
329
- - banned-dependencies
331
+ # - banned-dependencies # * OK, we just don't have global config
330
332
- prefer-caret-version-syntax
331
333
# - prefer-correct-package-name
332
334
- prefer-correct-screenshots
0 commit comments