OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/.codeclimate.yml

65 lines
1.1 KiB

---
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
brakeman:
enabled: true
bundler-audit:
enabled: true
eslint:
enabled: true
checks:
no-unused-expressions:
enabled: false
csslint:
enabled: true
scsslint:
enabled: true
tslint:
enabled: true
config: tslint.json
fixme:
enabled: true
ratings:
paths:
- app/**
- config/**
- features/**
- frontend/**
- lib/**
- spec/**
exclude_paths:
- .bundle/**/*
- lib/plugins/rfpdf/**/*
- frontend/vendor/**/*
- "**/*.d.ts"
- "**/node_modules/"
- spec/**
- spec_legacy/**/*
- lib/redcloth3.rb