diff --git a/.circleci/config.yml b/.circleci/config.yml index 6f19fba..ea012ad 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,22 +6,9 @@ jobs: - image: circleci/node:lts steps: - checkout - - run: - name: Download cc-test-reporter - command: | - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - run: yarn - - run: - name: cc-before - command: | - ./cc-test-reporter before-build - run: yarn build - run: yarn test.prod - - run: - name: cc-after - command: | - ./cc-test-reporter after-build --coverage-input-type lcov --exit-code $? build: docker: diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index 1b767e3..0000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,32 +0,0 @@ -version: "2" -checks: - argument-count: - config: - threshold: 6 - complex-logic: - config: - threshold: 10 - file-lines: - config: - threshold: 1000 - method-complexity: - config: - threshold: 30 - method-count: - config: - threshold: 30 - method-lines: - config: - threshold: 200 - nested-control-flow: - config: - threshold: 8 - return-statements: - config: - threshold: 5 - similar-code: - config: - threshold: 200 -exclude_patterns: - - "**/__tests__/" - - "**/__stories__/"