From 8913c702054eca2918b10b117b5bcb996eaa309d Mon Sep 17 00:00:00 2001 From: Jaco Date: Thu, 8 Dec 2022 08:57:45 +0200 Subject: [PATCH] Remove CC (#1692) --- .codeclimate.yml | 21 --------------------- .github/workflows/semgrep.yml | 20 -------------------- 2 files changed, 41 deletions(-) delete mode 100644 .codeclimate.yml delete mode 100644 .github/workflows/semgrep.yml diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index 0620b23b0..000000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,21 +0,0 @@ -checks: - argument-count: - config: - threshold: 5 - method-complexity: - config: - threshold: 7 - method-count: - config: - threshold: 25 - method-lines: - config: - threshold: 30 - -exclude_patterns: -- "**/*.spec.js" -- "**/*.spec.ts" -- "packages/networks/src/substrate.ts" -- "packages/util/src/is/utf8.ts" -- "packages/x-noble-hashes/src/**.ts" -- "packages/x-noble-secp256k1/src/**.ts" diff --git a/.github/workflows/semgrep.yml b/.github/workflows/semgrep.yml deleted file mode 100644 index 52b4c7f6c..000000000 --- a/.github/workflows/semgrep.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Semgrep -on: - pull_request: {} - push: - branches: - - master - -jobs: - check: - if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)" - runs-on: ubuntu-latest - env: - YARN_ENABLE_SCRIPTS: false - steps: - - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e - - uses: returntocorp/semgrep-action@aeafd770072c4f48798b991e3449592bddc2c435 - with: - auditOn: push - publishToken: ${{ secrets.SEMGREP_APP_TOKEN }} - publishDeployment: 1395