-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop.yml
49 lines (39 loc) · 1.13 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
inherit_from: .rubocop_todo.yml
require:
- rubocop-rake
- rubocop-rspec
AllCops:
EnabledByDefault: true
DefaultFormatter: fuubar
DisplayCopNames: true
TargetRubyVersion: 3.0
Bundler/GemVersion: { EnforcedStyle: forbidden }
Metrics/BlockLength: { Exclude: ["spec/**/*_spec.rb"] }
RSpec/MessageExpectation: { EnforcedStyle: expect }
Style/ClassAndModuleChildren: { EnforcedStyle: compact }
Style/ClassMethodsDefinitions: { EnforcedStyle: self_class }
Style/MethodCallWithArgsParentheses:
AllowedMethods:
- abort
- and
- describe
- not_to
- raise
- to
Style/StringLiterals:
Enabled: true
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
Enabled: true
EnforcedStyle: double_quotes
Style/WordArray: { EnforcedStyle: brackets }
Layout/LineLength:
Max: 80
Bundler/GemComment: { Enabled: false }
Layout/SingleLineBlockChain: { Enabled: false }
Lint/ConstantResolution: { Enabled: false }
RSpec/StubbedMock: { Enabled: false }
Style/ConstantVisibility: { Enabled: false }
Style/Copyright: { Enabled: false }
Style/InlineComment: { Enabled: false }
Style/MissingElse: { Enabled: false }