forked from cyril/accept_language.rb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml.erb
46 lines (35 loc) · 1.13 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
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 %>
NewCops: enable
TargetRubyVersion: 3.1
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/rspec.yml
- https://raw.githubusercontent.com/sashite/sashite-rubocop.rb/v1.0.3/config/rubocop/thread_safety.yml
inherit_mode:
merge:
- Exclude
require:
- rubocop-gitlab-security
- rubocop-md
Layout/LineLength:
Max: 150
Metrics/MethodLength:
Max: 12
Performance/RedundantMatch:
Enabled: false
RSpec/ExampleLength:
Max: 10
RSpec/MultipleMemoizedHelpers:
Max: 10
RSpec/NestedGroups:
Max: 7
# Check with yard instead.
Style/Documentation:
Enabled: false