forked from openware/barong
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.codeclimate.yml
73 lines (72 loc) · 1.35 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
73
#TODO enable codeclimate in spec files and fix issues
version: '2'
checks:
method-complexity:
config:
threshold: 10
file-lines:
config:
threshold: 400
plugins:
brakeman:
enabled: true
rubocop:
enabled: false
checks:
Rubocop/Metrics/ClassLength:
enabled: false
Rubocop/Metrics/BlockLength:
enabled: false
Rubocop/Style/RedundantSelf:
enabled: false
Rubocop/Metrics/AbcSize:
enabled: false
Rubocop/Layout/AlignHash:
enabled: false
Rubocop/Metrics/LineLength:
enabled: false
reek:
enabled: false
checks:
FeatureEnvy:
enabled: false
RepeatedConditional:
enabled: false
NilCheck:
enabled: false
InstanceVariableAssumption:
enabled: false
IrresponsibleModule:
enabled: false
UncommunicativeModuleName:
enabled: false
exclude_patterns:
- spec/
bundler-audit:
enabled: true
todo:
enabled: false
fixme:
enabled: false
duplication:
enabled: true
exclude_patterns:
- spec/
- app/api/
config:
languages:
- ruby
exclude_patterns:
- db/
- ci/bump.rb
- node_modules/
- vendor/
- config/initializers/*
- config/plugins.rb
- config/
- test/
- config.ru
- db/
- dist/
- script/
- spec/