Skip to content

Commit

Permalink
Update code formatting rules for method length limits.
Browse files Browse the repository at this point in the history
- Set maximum lines per method to 100 and statements to 50.
- Changed skip local functions setting to true.
  • Loading branch information
adambajguz committed Sep 16, 2024
1 parent d75350d commit 24153eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ dotnet_diagnostic.MA0131.severity = none
dotnet_diagnostic.MA0150.severity = none

dotnet_diagnostic.MA0048.excluded_symbol_names = T:*.Domain.Events.*
MA0051.maximum_lines_per_method = 250
MA0051.maximum_statements_per_method = 90
MA0051.skip_local_functions = false
MA0051.maximum_lines_per_method = 100
MA0051.maximum_statements_per_method = 50
MA0051.skip_local_functions = true

#### Core EditorConfig Options ####

Expand Down

0 comments on commit 24153eb

Please sign in to comment.