-
Notifications
You must be signed in to change notification settings - Fork 11
/
.codeclimate.yml
75 lines (75 loc) · 1.64 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
74
75
version: "2"
checks:
argument-count:
config:
threshold: 9
complex-logic:
config:
threshold: 4
file-lines:
enabled: false
method-complexity:
config:
threshold: 25
method-count:
config:
threshold: 65
method-lines:
enabled: false
inline-conditional:
enabled: false
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 5
plugins:
fixme:
enabled: false
rubocop:
enabled: true
channel: rubocop-0-77
config: .rubocop.yml
exclude_fingerprints:
- c46545507dd9c0ee0b06ade73f99824e
- a03b9bf2b9fdbfdab660422385265cd0
brakeman:
enabled: true
exclude_fingerprints:
- dddc38ecdf09b41a514d23ca5f1fcc94c5cf7a6b7c16678bcb7cb0b4435e47d9
- 4114d80e9cc178232bb96981ad86242e6fe5358be6d84033bf86184d947030ad
- 829226bd25ac3f5f3281766f8a14d2934a345bce7e456a8bf12d8c841de21c71
- c3eb48478c89591bdf3c9d8b27b3d9b8a875e34c2bb61232485d684c455c90b2
duplication:
enabled: true
config:
languages:
ruby:
mass_threshold: 36
bundler-audit:
enabled: true
exclude_patterns:
- "app/controllers/concerns/*_doc.rb"
- "app/controllers/*.rb"
- "!app/controllers/application_controller.rb"
- "app/graphql"
- "app/jobs"
- "app/models/ability.rb"
- "app/models/concerns/smooch_tos.rb"
- "app/models/concerns/project_media_cached_fields.rb"
- "config/"
- "data"
- "db/"
- "doc"
- "lib/sample_data.rb"
- "lib/tasks"
- "public/api"
- "public/coverage"
- "public/javascripts"
- "public/viber/bigtext.js"
- "test"
- "**.js"
- ".codeclimate.yml"
- "app/models/concerns/smooch_strings.rb"
- "lib/check_statistics.rb"