-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.rubocop.yml
More file actions
73 lines (54 loc) · 1.06 KB
/
.rubocop.yml
File metadata and controls
73 lines (54 loc) · 1.06 KB
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
# Omakase Ruby styling for Rails
inherit_gem:
rubocop-rails-omakase: rubocop.yml
inherit_from: .rubocop_todo.yml
AllCops:
TargetRubyVersion: 4.0
DisplayCopNames: true
DisplayStyleGuide: true
ExtraDetails: true
NewCops: enable
SuggestExtensions: false
plugins:
- rubocop-performance
- rubocop-rails
- rubocop-rspec
- rubocop-thread_safety
- rubocop-rubycw
Style/FrozenStringLiteralComment:
Enabled: false
Style/Documentation:
Enabled: false
Rails/I18nLocaleTexts:
Enabled: false
Bundler/OrderedGems:
Enabled: false
Layout/LineLength:
Max: 120
Metrics/MethodLength:
Max: 25
RSpec/NamedSubject:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/ExampleLength:
Max: 15
RSpec/ContextWording:
Enabled: false
RSpec/ExpectInHook:
Enabled: false
RSpec/AnyInstance:
Enabled: false
RSpec/IndexedLet:
Enabled: false
RSpec/NoExpectationExample:
AllowedPatterns:
- ^assert_
- ^expect_
- ^wait(_for)?$
Rails/Output:
Exclude:
- 'config/initializers/*'
Rails/Exit:
Exclude:
- 'config/initializers/*'