forked from dry-rb/dry-initializer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
99 lines (72 loc) · 1.48 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
---
AllCops:
DisplayCopNames: true
DisplayStyleGuide: true
StyleGuideCopsOnly: true
TargetRubyVersion: 2.2
Lint/HandleExceptions:
Exclude:
- spec/**/*_spec.rb
Lint/RescueException:
Exclude:
- spec/**/*_spec.rb
Metrics/LineLength:
Max: 80
Exclude:
- spec/**/*_spec.rb
Style/AccessorMethodName:
Exclude:
- spec/**/*_spec.rb
Style/Alias:
EnforcedStyle: prefer_alias_method
Style/AsciiComments:
Enabled: false
Style/BlockDelimiters:
Exclude:
- spec/**/*_spec.rb
Style/CaseEquality:
Enabled: false
Style/ClassAndModuleChildren:
Enabled: false
Style/Documentation:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/EmptyLinesAroundClassBody:
Enabled: false
Style/EmptyLinesAroundModuleBody:
Enabled: false
Style/EmptyLineBetweenDefs:
Enabled: false
Style/FileName:
Enabled: false
Style/Lambda:
Exclude:
- spec/**/*_spec.rb
Style/ModuleFunction:
Enabled: false
Style/RaiseArgs:
EnforcedStyle: compact
Style/Semicolon:
Exclude:
- spec/**/*_spec.rb
Style/SignalException:
EnforcedStyle: semantic
Style/SingleLineBlockParams:
Enabled: false
Style/SingleLineMethods:
Exclude:
- spec/**/*_spec.rb
Style/SpaceBeforeFirstArg:
Enabled: false
Style/SpecialGlobalVars:
Exclude:
- Gemfile
- dry-initializer.gemspec
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
Style/TrivialAccessors:
Exclude:
- spec/**/*_spec.rb