feat: add codeclimate.yml

This commit is contained in:
jeffreytse 2020-05-01 14:32:06 +08:00
parent 7624339b1d
commit f961be49e8

38
.codeclimate.yml Normal file
View File

@ -0,0 +1,38 @@
version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 5
file-lines:
enabled: true
config:
threshold: 300
method-complexity:
enabled: true
config:
threshold: 15
method-count:
enabled: true
config:
threshold: 50
method-lines:
enabled: true
config:
threshold: 30
plugins:
fixme:
enabled: false
exclude_patterns:
- "*.*"
- ".*"
- Gemfile
- LICENSE.txt
- Rakefile
- rake/
- script/
- spec/
- test/