-
Notifications
You must be signed in to change notification settings - Fork 3
/
.rubocop.yml.erb
39 lines (32 loc) · 1.12 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
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 %>
- '**/*.md'
- '**/*.markdown'
- 'benchmark/**/*'
- 'spec/**/*'
- 'vendor/**/*'
NewCops: enable
TargetRubyVersion: 3.2
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-md
Naming/PredicateName:
Exclude:
- 'lib/r_spec/clone/expectation_helper/it.rb'
- 'lib/r_spec/clone/expectation_helper/its.rb'
Metrics/MethodLength:
Max: 11
Metrics/ParameterLists:
Max: 6