This repository has been archived by the owner on Aug 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.codeclimate.yml
90 lines (90 loc) · 1.71 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
checks:
argument-count:
enabled: true
complex-logic:
enabled: true
file-lines:
config:
threshold: 300
enabled: true
identical-code:
enabled: true
method-complexity:
enabled: false
method-count:
enabled: true
method-lines:
enabled: false
nested-control-flow:
enabled: true
return-statements:
enabled: true
similar-code:
enabled: true
exclude_patterns:
- "**/node_modules/"
- "**/vendor/"
- app/javascript/
- db/
- public/
- script/
- config/initializers/simple_form.rb
- config/initializers/simple_form_bootstrap.rb
- lib/paperclip_shrine_synchronization.rb
- coverage/
- log/
- spec/support/chosenjs.rb
- tmp/
- vendor/
- babel.config.js
plugins:
brakeman:
checks:
dangerous_permit_key:
enabled: false
dynamic_render_path:
enabled: false
enabled: true
bundler-audit:
enabled: true
coffeelint:
enabled: true
csslint:
enabled: true
duplication:
config:
languages:
javascript:
mass_threshold: 60
ruby: ~
enabled: true
exclude_patterns:
- app/controllers/
- config/initializers/simple_form_bootstrap.rb
- db/
- spec/
eslint:
checks:
comma-dangle:
enabled: false
global-require:
enabled: false
enabled: true
fixme:
enabled: true
grep:
config:
patterns:
no-console-log:
annotation: "Don't commit console.log in JavaScript"
categories: Security
path_patterns:
- "**/*.js"
pattern: console.log
severity: blocker
enabled: true
rubocop:
channel: rubocop-0-74
enabled: true
version: "2"