diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index f46194a7d..000000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,45 +0,0 @@ -version: "2" # required to adjust maintainability checks -checks: - argument-count: - config: - threshold: 6 - complex-logic: - config: - threshold: 50 - file-lines: - config: - threshold: 300 - method-complexity: - config: - threshold: 8 - method-count: - config: - threshold: 20 - method-lines: - config: - threshold: 100 - nested-control-flow: - config: - threshold: 6 - return-statements: - config: - threshold: 6 - similar-code: - config: - threshold: 50 - identical-code: - config: - threshold: 25 -plugins: - duplication: - enabled: true - config: - count_threshold: 4 -exclude_patterns: - - "**/test/*" - - "**/adapter-tests/*" - - "**/dist/*" - - "**/*.dist.js" - - "**/templates/*" - - "**/_**" - - "**/adapter-commons/src/sort.ts" diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index ebde63371..0e5fa98d1 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -32,16 +32,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm i npm -g - - run: npm install -g codeclimate-test-reporter - run: npm install - run: npm test env: CI: true TEST_DB: postgres - - run: | - if [ "$CODECLIMATE_REPO_TOKEN" != "" ]; then - codeclimate-test-reporter < coverage/lcov.info - fi - env: - CODECLIMATE_REPO_TOKEN: ${{ secrets.codeclimate }} diff --git a/README.md b/README.md index 928289a63..1f6cebbde 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,6 @@ --- [![CI](https://github.com/feathersjs/feathers/workflows/CI/badge.svg)](https://github.com/feathersjs/feathers/actions?query=workflow%3ACI) -[![Maintainability](https://api.codeclimate.com/v1/badges/cb5ec42a2d0cc1a47a02/maintainability)](https://codeclimate.com/github/feathersjs/feathers/maintainability) -[![Test Coverage](https://api.codeclimate.com/v1/badges/cb5ec42a2d0cc1a47a02/test_coverage)](https://codeclimate.com/github/feathersjs/feathers/test_coverage) [![Download Status](https://img.shields.io/npm/dm/@feathersjs/feathers.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/feathers) [![Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/qa8kez8QBx) diff --git a/packages/feathers/README.md b/packages/feathers/README.md index d4fe7845d..ecc774770 100644 --- a/packages/feathers/README.md +++ b/packages/feathers/README.md @@ -3,8 +3,6 @@ ## The API and real-time application framework [![CI](https://github.com/feathersjs/feathers/workflows/CI/badge.svg)](https://github.com/feathersjs/feathers/actions?query=workflow%3ACI) -[![Maintainability](https://api.codeclimate.com/v1/badges/cb5ec42a2d0cc1a47a02/maintainability)](https://codeclimate.com/github/feathersjs/feathers/maintainability) -[![Test Coverage](https://api.codeclimate.com/v1/badges/cb5ec42a2d0cc1a47a02/test_coverage)](https://codeclimate.com/github/feathersjs/feathers/test_coverage) [![Download Status](https://img.shields.io/npm/dm/@feathersjs/feathers.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/feathers) [![Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/qa8kez8QBx)