Merge pull request #9593 from opf/fix/remove_codeclimate

remove codeclimate
pull/9610/head
ulferts 3 years ago committed by GitHub
commit 168392b4dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 65
      .codeclimate.yml

@ -1,65 +0,0 @@
---
version: "2"
languages:
Ruby: true
JavaScript: true
checks:
file-lines:
enabled: false
method-count:
enabled: false
method-lines:
enabled: false
method-complexity:
enabled: true
config:
threshold: 10
complex-logic:
enabled: true
config:
threshold: 10
# Similar codes trips up at the long TS/angular injection
# constructors all the time, which are similar by nature.
similar-code:
enabled: false
identical-code:
enabled: true
plugins:
rubocop:
enabled: true
channel: rubocop-1-12-1
# Codeclimate uses brakeman 4.3.1 which does not support rails 6
# Check https://docs.codeclimate.com/docs/brakeman for updates.
brakeman:
enabled: false
# as long as bundler-audit does not support bundler 2.0 we disable it
bundler-audit:
enabled: false
eslint:
enabled: true
channel: "eslint-7"
config:
config: frontend/.eslintrc.js
csslint:
enabled: true
scss-lint:
enabled: true
fixme:
enabled: true
ratings:
paths:
- app/**
- config/**
- frontend/**
- lib/**
- spec/**
exclude_paths:
- .bundle/**/*
- lib/plugins/rfpdf/**/*
- app/assets/javascripts/vendor/**/*
- frontend/vendor/**/*
- frontend/src/vendor/**/*
- "**/*.d.ts"
- "**/node_modules/"
- spec/**
- spec_legacy/**/*
Loading…
Cancel
Save