forked from opf/openproject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
72 lines (72 loc) · 1.46 KB
/
.codeclimate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
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-0-79
# 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
checks:
no-unused-expressions:
enabled: false
csslint:
enabled: true
scsslint:
enabled: true
tslint:
enabled: true
config: tslint.json
checks:
# Disable whitespace due to 3.7 incompatibiltiy with ? navigation
whitespace:
enabled: false
fixme:
enabled: true
ratings:
paths:
- app/**
- config/**
- features/**
- frontend/**
- lib/**
- spec/**
exclude_paths:
- .bundle/**/*
- lib/plugins/rfpdf/**/*
- app/assets/javascripts/vendor/**/*
- frontend/vendor/**/*
- "**/*.d.ts"
- "**/node_modules/"
- spec/**
- spec_legacy/**/*