-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
70 lines (50 loc) · 1.21 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
60
61
62
63
64
65
66
67
68
69
70
# see example at https://gist.github.com/jhass/a5ae80d87f18e53e7b56
inherit_from:
<%= ENV['IGNORE_RUBOCOP_TODO'] ? "# - .rubocop_todo.yml" : "- .rubocop_todo.yml" %>
- .rubocop-rspec.yml
require:
- rubocop-rspec
- rubocop-rake
- rubocop-performance
AllCops:
NewCops: enable
# TargetRubyVersion: 3.3.6
# TargetRailsVersion: 7.2.2
# 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
Naming/MethodParameterName:
Enabled: false
Naming/VariableName:
Enabled: false
Layout/FirstHashElementIndentation:
Enabled: false
Layout/CaseIndentation:
EnforcedStyle: end
Metrics/ParameterLists:
Enabled: false
Style/Lambda:
EnforcedStyle: literal
Layout/IndentationWidth:
Enabled: false
Layout/EndAlignment:
Enabled: false
Layout/ElseAlignment:
Enabled: false
Style/TrivialAccessors:
Enabled: false
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented