Skip to content

Commit d3c0396

Browse files
committed
Exclude copyWith method from number_of_parameters rule
1 parent 7c8b697 commit d3c0396

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/analysis_options.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ custom_lint:
8585

8686
- number_of_parameters:
8787
max_parameters: 7
88+
exclude:
89+
- method_name: copyWith
8890

8991
- prefer_conditional_expressions:
9092
ignore_nested: true

0 commit comments

Comments
 (0)