mirror of
https://github.com/feathersjs/feathers.git
synced 2025-12-08 19:46:22 +00:00
chore: Remove Codeclimate (#3597)
This commit is contained in:
parent
7f38ebf629
commit
cfbb629430
@ -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"
|
||||
8
.github/workflows/nodejs.yml
vendored
8
.github/workflows/nodejs.yml
vendored
@ -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 }}
|
||||
|
||||
@ -5,8 +5,6 @@
|
||||
---
|
||||
|
||||
[](https://github.com/feathersjs/feathers/actions?query=workflow%3ACI)
|
||||
[](https://codeclimate.com/github/feathersjs/feathers/maintainability)
|
||||
[](https://codeclimate.com/github/feathersjs/feathers/test_coverage)
|
||||
[](https://www.npmjs.com/package/@feathersjs/feathers)
|
||||
[](https://discord.gg/qa8kez8QBx)
|
||||
|
||||
|
||||
@ -3,8 +3,6 @@
|
||||
## The API and real-time application framework
|
||||
|
||||
[](https://github.com/feathersjs/feathers/actions?query=workflow%3ACI)
|
||||
[](https://codeclimate.com/github/feathersjs/feathers/maintainability)
|
||||
[](https://codeclimate.com/github/feathersjs/feathers/test_coverage)
|
||||
[](https://www.npmjs.com/package/@feathersjs/feathers)
|
||||
[](https://discord.gg/qa8kez8QBx)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user