-
Notifications
You must be signed in to change notification settings - Fork 2
/
.rubocop.yml
63 lines (51 loc) · 1.06 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
# inherit_from: .rubocop_todo.yml
require: rubocop-performance
AllCops:
TargetRubyVersion: 3.2.3
Exclude:
- bin/**
- db/**/*
- node_modules/**/*
Style/Documentation:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Lint/Void:
Enabled: false
Metrics/AbcSize:
Max: 30
Layout/LineLength:
Max: 120
Metrics/ClassLength:
Max: 1500
Metrics/MethodLength:
Max: 10
Metrics/BlockLength:
Max: 70
Layout/HashAlignment:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table
Gemspec/DeprecatedAttributeAssignment:
Enabled: true
Gemspec/DevelopmentDependencies:
Enabled: true
Gemspec/RequireMFA:
Enabled: true
Layout/LineContinuationLeadingSpace:
Enabled: true
Layout/LineContinuationSpacing:
Enabled: true
Layout/LineEndStringConcatenationIndentation:
Enabled: true
Layout/SpaceBeforeBrackets:
Enabled: true
Lint/AmbiguousAssignment:
Enabled: true
Lint/AmbiguousOperatorPrecedence:
Enabled: true
Lint/AmbiguousRange:
Enabled: true
Lint/ConstantOverwrittenInRescue:
Enabled: true
Lint/DeprecatedConstants:
Enabled: true