-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdefault.yml
92 lines (82 loc) · 2.06 KB
/
default.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
require:
- rubocop-rails
inherit_mode:
merge: Exclude
Rails:
Enabled: true
AllCops:
TargetRubyVersion: 3.1.2
NewCops: enable
SuggestExtensions: false
Bundler/GemFilename:
Enabled: false
Gemspec/DeprecatedAttributeAssignment:
Enabled: false
Gemspec/RequireMFA:
Enabled: false
Gemspec/RequiredRubyVersion:
Enabled: false
Layout/EmptyLinesAroundClassBody:
EnforcedStyle: empty_lines_special
Layout/EmptyLinesAroundModuleBody:
EnforcedStyle: empty_lines_except_namespace
Layout/LineLength:
Enabled: false
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented_relative_to_receiver
Lint/SuppressedException:
AllowComments: true
Metrics/AbcSize:
AllowedMethods: [ 'included' ]
Metrics/BlockLength:
CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
Exclude:
- "**/patches/**/*"
- "**/easy_patch/**/*"
- "**/spec/**/*"
Metrics/ClassLength:
CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
Metrics/CyclomaticComplexity:
AllowedMethods:
- included
Metrics/MethodLength:
CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
AllowedMethods: [ 'included' ]
Metrics/ModuleLength:
CountAsOne: [ 'array', 'hash', 'heredoc', 'method_call']
Exclude:
- "**/patches/**/*"
- "**/easy_patch/**/*"
Metrics/PerceivedComplexity:
AllowedMethods:
- included
Naming/BlockForwarding:
Enabled: false
Naming/VariableNumber:
EnforcedStyle: snake_case
Rails/ApplicationRecord:
Enabled: false
Rails/RedundantPresenceValidationOnBelongsTo:
Enabled: false
Style/Documentation:
Enabled: false
Style/FrozenStringLiteralComment:
EnforcedStyle: never
Style/IfUnlessModifier:
Enabled: false
Style/HashSyntax:
EnforcedStyle: ruby19_no_mixed_keys
Style/MutableConstant:
Enabled: false
Style/NegatedIf:
Enabled: false
Style/QuotedSymbols:
Enabled: false
Rails/SkipsModelValidations:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/TrailingCommaInHashLiteral:
EnforcedStyleForMultiline: consistent_comma
Style/TrailingCommaInArrayLiteral:
EnforcedStyleForMultiline: consistent_comma