Skip to content

Commit

Permalink
Merge pull request #1135 from Crown-Commercial-Service/feature/CAS-00…
Browse files Browse the repository at this point in the history
…0_Add_CodeClimate

Add CodeClimate config to support CodeClimate analysis
  • Loading branch information
NToppingCCS committed Apr 17, 2023
2 parents 9224b3d + 92a4071 commit a6aa9f5
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: "2"

checks:
argument-count:
enabled: true
config:
threshold: 8
complex-logic:
enabled: true
config:
threshold: 8
file-lines:
enabled: true
config:
threshold: 500
method-complexity:
enabled: true
config:
threshold: 10
method-count:
enabled: true
config:
threshold: 20
method-lines:
enabled: true
config:
threshold: 70
nested-control-flow:
enabled: true
config:
threshold: 8
return-statements:
enabled: true
config:
threshold: 8
similar-code:
enabled: true
config:
threshold: 60

0 comments on commit a6aa9f5

Please sign in to comment.