Skip to content

Commit

Permalink
Update codeclimate configuration file for their new version "2"
Browse files Browse the repository at this point in the history
Some of the checks might require some fine-tuning.
  • Loading branch information
tmcgee committed Jan 12, 2018
1 parent 2c4cdc9 commit c2bd2c4
Showing 1 changed file with 44 additions and 6 deletions.
50 changes: 44 additions & 6 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,52 @@
engines:
version: "2"
checks:
argument-count:
enabled: true
config:
threshold: 10
complex-logic:
enabled: true
config:
threshold: 10
file-lines:
enabled: true
config:
threshold: 500
method-complexity:
enabled: true
config:
threshold: 10
method-count:
enabled: true
config:
threshold: 50
method-lines:
enabled: true
config:
threshold: 50
nested-control-flow:
enabled: true
config:
threshold: 10
return-statements:
enabled: true
config:
threshold: 10
similar-code:
enabled: true
config:
threshold:
identical-code:
enabled: true
config:
threshold:
plugins:
eslint:
enabled: true
channel: "eslint-3"
csslint:
enabled: true
ratings:
paths:
- "**.js"
- "**.css"
exclude_paths:
exclude_patterns:
- "cmv/**/*"
- "**/**.min.css"
- "**/**.min.js"

0 comments on commit c2bd2c4

Please sign in to comment.