Skip to content

Commit

Permalink
new config file for codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
konzz committed Feb 18, 2019
1 parent 76b8692 commit 34d4ff0
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
version: "2" # required to adjust maintainability checks
checks:
argument-count:
config:
threshold: 4
complex-logic:
config:
threshold: 4
file-lines:
config:
threshold: 250
method-complexity:
config:
threshold: 5
method-count:
config:
threshold: 20
method-lines:
config:
threshold: 25
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 4
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.
plugins:
eslint:
enabled: true
channel: "eslint-4"
config:
config: .eslintrc
ratings:
paths:
- app/**
exclude_patterns:
- "**/index.js"
- "**/fixtures.js"
- "**/specs/*"

0 comments on commit 34d4ff0

Please sign in to comment.