Skip to content

Commit

Permalink
same eslint config for codeclimate and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
konzz authored and daneryl committed Mar 18, 2020
1 parent b5d23d4 commit d61b7b7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "2" # required to adjust maintainability checks
version: '2' # required to adjust maintainability checks
checks:
argument-count:
enabled: false
Expand All @@ -21,19 +21,20 @@ checks:
threshold: 4
similar-code:
config:
threshold: 70
threshold: 70
plugins:
eslint:
enabled: true
channel: "eslint-5"
channel: 'eslint-5'
config:
config: .eslintrc
ignore_warnings: true
checks:
prettier/prettier:
enabled: false
ratings:
paths:
- app/**
- app/**
exclude_patterns:
- "**/index.js"
- "**/fixtures.js"
- '**/index.js'
- '**/fixtures.js'

0 comments on commit d61b7b7

Please sign in to comment.