Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

Commit 82fb849

Browse files
authored
docs: Add better example for presets (#1089)
1 parent c4a9ad3 commit 82fb849

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

website/docs/getting-started/configuration.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ To extend an existing preset add a reference to the `.yaml` file with the preset
5252
dart_code_metrics:
5353
extends:
5454
- package:dart_code_metrics/presets/all.yaml
55+
rules:
56+
- arguments-ordering:
57+
child-last: true
58+
- avoid-banned-imports: false
5559
```
5660

5761
All predefined preset [can be found here](https://github.com/dart-code-checker/dart-code-metrics/tree/master/lib/presets).

0 commit comments

Comments
 (0)