Skip to content

Commit 539139b

Browse files
committed
fix lint
1 parent 8bde4c3 commit 539139b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analysis_options.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ dart_code_metrics:
183183
- lib/main.dart
184184
rules:
185185
# Common
186-
- avoid-banned-imports # Configure some imports that you want to ban, ref: https://dartcodemetrics.dev/docs/rules/common/avoid-banned-imports
186+
# - avoid-banned-imports # Configure some imports that you want to ban, ref: https://dartcodemetrics.dev/docs/rules/common/avoid-banned-imports
187187
- avoid-collection-methods-with-unrelated-types # Avoid using collection methods with unrelated types, such as accessing a map of integers using a string key.
188188
- avoid-duplicate-exports # Warns when a file has multiple exports declarations with the same URI.
189189
# - avoid-dynamic # Warns when the dynamic type is used as a variable type in a declaration, return type of a function, etc. Using dynamic is considered unsafe since it can easily result in runtime errors.
@@ -203,7 +203,7 @@ dart_code_metrics:
203203
- avoid-unused-parameters: # Checks for unused parameters inside a function or method body. For overridden methods suggests renaming unused parameters to _, __, etc.
204204
exclude:
205205
- lib/**/*bloc.dart
206-
- ban-name # Configure some names that you want to ban, ref: https://dartcodemetrics.dev/docs/rules/common/ban-name
206+
# - ban-name # Configure some names that you want to ban, ref: https://dartcodemetrics.dev/docs/rules/common/ban-name
207207
- binary-expression-operand-order # Warns when a literal value is on the left hand side in a binary expressions, inspired by https://palantir.github.io/tslint/rules/binary-expression-operand-order/
208208
- double-literal-format # Checks that double literals should begin with 0. instead of just ., and should not end with a trailing 0. Helps keep a consistent style of numeric literals and decrease potential typos.
209209
- format-comment # Prefer format comments like sentences.

0 commit comments

Comments
 (0)