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

Commit

Permalink
adjust cognitive complexity threshold to 6 for codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Aug 23, 2021
1 parent 8df122c commit 2d9baa6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .codeclimate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
version: "2" # required to adjust maintainability checks
checks:
argument-count:
config:
threshold: 4
complex-logic:
config:
threshold: 4
file-lines:
config:
threshold: 300
method-complexity:
config:
threshold: 6
method-count:
config:
threshold: 20
method-lines:
config:
threshold: 25
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 4
similar-code:
config:
threshold: # language-specific defaults. an override will affect all languages.
identical-code:
config:
threshold: # language-specific defaults. an override will affect all languages.

0 comments on commit 2d9baa6

Please sign in to comment.