-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
45 lines (34 loc) · 886 Bytes
/
.rubocop.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
# see example at https://gist.github.com/jhass/a5ae80d87f18e53e7b56
inherit_from:
<%= ENV['IGNORE_RUBOCOP_TODO'] ? "# - .rubocop_todo.yml" : "- .rubocop_todo.yml" %>
- .rubocop-minitest.yml
plugins:
- rubocop-minitest
- rubocop-rake
- rubocop-performance
AllCops:
NewCops: enable
TargetRubyVersion: 3.4.2
# TargetRailsVersion: 7.2.2
# Exclude:
# - 'Gemfile.lock'
Naming/VariableNumber:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
Layout/EmptyLinesAroundModuleBody:
EnforcedStyle: empty_lines_special
Enabled: false
Layout/TrailingEmptyLines:
Enabled: false
EnforcedStyle: final_blank_line
Layout/EmptyLinesAroundClassBody:
Enabled: false
Style/RaiseArgs:
EnforcedStyle: compact
Metrics/MethodLength:
Max: 15
Exclude:
- 'test/spec/super_hash/utils_spec.rb'