Skip to content

Commit

Permalink
fix: update preset
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-struk-surf committed Jun 4, 2024
1 parent d4b3b1b commit ac42a20
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions lib/dart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ dart_code_metrics:
- body
- child
- children
- parameters-ordering:
required: "first"
default: "last"
super: "last"

- avoid-accessing-collections-by-constant-index
- avoid-accessing-other-classes-private-members
- avoid-async-call-in-sync-function
Expand Down Expand Up @@ -134,11 +129,11 @@ dart_code_metrics:
- public-methods
- private-methods
widgets-order:
- const-fields
- final-fields
- constructor
- named-constructor
- factory-constructors
- const-fields
- final-fields
- init-state-method
- did-change-dependencies-method
- did-update-widget-method
Expand Down

0 comments on commit ac42a20

Please sign in to comment.