Skip to content

Commit

Permalink
fix(build): add cc config
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Aug 27, 2020
1 parent 7806b0b commit 6cb6d18
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: "2"

checks:
method-complexity:
config:
threshold: 8 # 5 is *just* too low and flags a number of otherwise readable methods
method-lines:
config:
threshold: 40 # with object literals, lines are not a great measure

exclude_patterns:
- CHANGELOG.md
- config/
- docs/api/
- docs/dev/style.md
- src/migration/
- vendor/

plugins:
duplication:
enabled: true
config:
languages:
typescript:
mass_threshold: 225
eslint:
enabled: true
config:
config: config/eslint.json
fixme:
enabled: true
markdownlint:
enabled: true
shellcheck:
enabled: true

0 comments on commit 6cb6d18

Please sign in to comment.