Skip to content

Commit

Permalink
fix(cc): added checks
Browse files Browse the repository at this point in the history
  • Loading branch information
yyewolf committed Aug 11, 2023
1 parent da61c71 commit 41142b4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
version: "2" # required to adjust maintainability checks
checks:
argument-count:
config:
threshold: 7
complex-logic:
config:
threshold: 5
file-lines:
config:
threshold: 1000
method-complexity:
config:
threshold: 7
method-count:
config:
threshold: 50
method-lines:
config:
threshold: 50
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 5
# 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.
## exclude auto generated files from codeclimate analysis
exclude_patterns:
- "backend/autogen/bar.gen.go"
Expand Down

0 comments on commit 41142b4

Please sign in to comment.