-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
59 lines (44 loc) · 1.02 KB
/
.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# see example at https://gist.github.com/jhass/a5ae80d87f18e53e7b56
# <% unless ENV['BYPASS_RUBOCOP_TODO'] %>
# inherit_from:
# <% else %>
# inherit_from:
# - '.rubocop-todo.yml'
# <% end %>
inherit_from:
- .rubocop_todo.yml
- .rubocop-minitest.yml
require:
- rubocop-minitest
- rubocop-rake
- rubocop-performance
AllCops:
NewCops: enable
# TargetRubyVersion: 2.7.8
# TargetRailsVersion: 6.1.4
# Exclude:
# - 'Gemfile.lock'
Naming/VariableNumber:
Enabled: false
Layout/SpaceInsideHashLiteralBraces:
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
Layout/CaseIndentation:
EnforcedStyle: end
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented
Layout/IndentationWidth:
Enabled: false
Layout/EndAlignment:
Enabled: false
Layout/ElseAlignment:
Enabled: false