-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml.erb
53 lines (41 loc) · 1.19 KB
/
.rubocop.yml.erb
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
AllCops:
# @see https://docs.rubocop.org/rubocop/configuration.html#pre-processing
Exclude:
<% `git status --ignored --porcelain`.lines.grep(/^!! /).each do |path| %>
- <%= path.sub(/^!! /, "").gsub(/\n/, "") %>
<% end %>
- test.rb
- config/**/*
NewCops: enable
TargetRubyVersion: 3.2
require:
- rubocop-gitlab-security
- rubocop-md
inherit_from:
- https://raw.githubusercontent.com/sashite/sashite-rubocop.rb/v1.0.3/config/rubocop.yml
- https://raw.githubusercontent.com/sashite/sashite-rubocop.rb/v1.0.3/config/rubocop/performance.yml
- https://raw.githubusercontent.com/sashite/sashite-rubocop.rb/v1.0.3/config/rubocop/rake.yml
- https://raw.githubusercontent.com/sashite/sashite-rubocop.rb/v1.0.3/config/rubocop/thread_safety.yml
- .rubocop_todo.yml
Naming/MethodName:
Enabled: false
Naming/FileName:
Enabled: false
# Check with yard instead.
Style/Documentation:
Enabled: false
Layout/LineLength:
Exclude:
- README.md
Include:
- app/**/*
- config/**/*
- test/**/*
Lint/RequireRelativeSelfPath:
Enabled: false
Style/RedundantConstantBase:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false