Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarbara committed Jan 17, 2020
1 parent 5abb9f1 commit 40ebecd
Show file tree
Hide file tree
Showing 7 changed files with 8,611 additions and 2,134 deletions.
58 changes: 32 additions & 26 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
---
engines:
eslint:
enabled: true
channel: "eslint-4"
config:
extensions:
- .js
- .jsx
checks:
import/no-duplicates:
enabled: false
no-template-curly-in-string:
enabled: false
import/no-unresolved:
enabled: false
import/no-extraneous-dependencies:
enabled: false
import/no-named-as-default-member:
enabled: false
stylelint:
enabled: true
ratings:
paths:
- "**.js"
- "**.jsx"
- "**.scss"
version: "2"
checks:
argument-count:
config:
threshold: 4
complex-logic:
config:
threshold: 4
file-lines:
config:
threshold: 500
method-complexity:
config:
threshold: 20
method-count:
config:
threshold: 20
method-lines:
config:
threshold: 50
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 4
similar-code:
config:
threshold: 100
identical-code:
config:
threshold: 20
exclude_paths:
- coverage/**/*
- docs/**/*
Expand Down
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- '8'
- '10'
cache:
directories:
- "node_modules"
Expand All @@ -10,13 +10,5 @@ before_script:
- ./cc-test-reporter before-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
deploy:
provider: npm
email: gilbarbara@gmail.com
api_key:
secure: PAkWHSl1+a6YLyyPxScfmRkjsaOPOfP/ugaWKb8yOFwyo8xQQRbYB+WQaYeLLoHHgtVfBvzc/LvSwQdl0ASBJdPLi9rbAwSrkoJ8vMwx3WFc51KGIkNdm00reKxlRa20Hu3PWnEH6jbB3Ag8aAS3mRaYxACplP0BYBE9u5vfJJdqC9KHmbwnMUKolKlB9/hmJ5GFzWD1xFf48pUATOlQnZvi1RkrX5Iarp46Z4a0RkosKNEhcKQw75IniWr4HN10Fo4q7ZZQuRQWM2Ul+InAynfUCTlJeEOiVWEUjvMMQkJQgNGyUI25+SfgDtQ1zY2NVS3IRTXfSDWd6R/LA+vDj9SZ3sn7ZdowdZfJkKOvWcWbtU5PIKOs35vNsMq+McFNT2dL+94wKX+b8qSXf0b/13jAV32hgYdMs0xF8chjp7xZOPGRlkfAgEwn494xOqDZsh2MSVF9CvdXX9ewN4L6Pso417HcQWk7aNcWwlnYMhGQfG9We37vh/Bly899fxh7K6ehdZx2/PksH4Cmw7DS8/rCOXkQJBHNGRsmxE15ZgcN6oFYd3pHzFHEvu3JGwGa3f2ihlLaE6sMpy3QUZaZTNV/lynvSthipkLtoZHmyA9/KGnNPA9zJ1oMYFHhJ2gm5sdcFrDGvySNWbPnbdWP5GXTNgSNRRXfb/sVSmL7x5U=
on:
tags: true
repo: amarofashion/react-credit-cards
addons:
code_climate: true
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
collectCoverageFrom: [
'src/**/*.{js,jsx}',
],
coverageReporters: ['json', 'lcovonly', 'text', 'clover'],
coverageThreshold: {
global: {
branches: 90,
Expand Down
Loading

0 comments on commit 40ebecd

Please sign in to comment.