lifen-ruby-style 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/default_rubocop.yml +22 -9
- data/lib/lifen/ruby_style/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3374ee51e9eee20e43a1c54a4241aebe4b20d66d2f490a8cfee3c76a8445321b
|
4
|
+
data.tar.gz: 83ae89fe92da78cfe5ae1c343b97de2410b5d852068c8e8c7af34b5179bef4b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8005cebbe5c14bd4921e6835a8ab0c4bad2ed59a88818108cc0143626c0bc299b892f39aaf57cadcadbbfd4508e56a98c6744625e14db6755ceda3de8ae417e5
|
7
|
+
data.tar.gz: 0f32bd0d3f114e7a09b1cb4f79070b80650f7718522b019cc460017d7a562d7585e4a8c6c7e43d2cf7e7387075e5508f2909159b3e3f48a895f06f1e8e511245
|
data/default_rubocop.yml
CHANGED
@@ -69,7 +69,7 @@ Metrics/CyclomaticComplexity:
|
|
69
69
|
Enabled: false
|
70
70
|
|
71
71
|
Metrics/MethodLength:
|
72
|
-
|
72
|
+
Enabled: false
|
73
73
|
|
74
74
|
Metrics/ModuleLength:
|
75
75
|
Max: 250
|
@@ -98,6 +98,16 @@ Style/ExplicitBlockArgument:
|
|
98
98
|
Style/Documentation:
|
99
99
|
Enabled: false
|
100
100
|
|
101
|
+
Style/FrozenStringLiteralComment:
|
102
|
+
Exclude:
|
103
|
+
- spec/lib/tasks/deployment/**/*
|
104
|
+
|
105
|
+
Style/IfUnlessModifier:
|
106
|
+
Enabled: false
|
107
|
+
|
108
|
+
Style/NumericLiterals:
|
109
|
+
Strict: true
|
110
|
+
|
101
111
|
Style/TrailingCommaInArguments:
|
102
112
|
Enabled: true
|
103
113
|
EnforcedStyleForMultiline: comma
|
@@ -110,12 +120,6 @@ Style/TrailingCommaInHashLiteral:
|
|
110
120
|
Enabled: true
|
111
121
|
EnforcedStyleForMultiline: comma
|
112
122
|
|
113
|
-
Style/IfUnlessModifier:
|
114
|
-
Enabled: true
|
115
|
-
AutoCorrect: false
|
116
|
-
|
117
|
-
Style/NumericLiterals:
|
118
|
-
Strict: true
|
119
123
|
|
120
124
|
Style/RegexpLiteral:
|
121
125
|
AllowInnerSlashes: true
|
@@ -135,14 +139,19 @@ Rails/DynamicFindBy:
|
|
135
139
|
|
136
140
|
Rails/UnknownEnv:
|
137
141
|
Environments:
|
138
|
-
- production
|
139
142
|
- development
|
140
|
-
-
|
143
|
+
- production
|
144
|
+
- review
|
141
145
|
- staging
|
146
|
+
- test
|
142
147
|
|
143
148
|
RSpec/AnyInstance:
|
144
149
|
Enabled: false
|
145
150
|
|
151
|
+
RSpec/DescribeClass:
|
152
|
+
Exclude:
|
153
|
+
- spec/lib/tasks/deployment/**/*
|
154
|
+
|
146
155
|
RSpec/DescribedClass:
|
147
156
|
EnforcedStyle: explicit
|
148
157
|
Exclude:
|
@@ -157,6 +166,10 @@ RSpec/ExampleLength:
|
|
157
166
|
RSpec/HookArgument:
|
158
167
|
EnforcedStyle: each
|
159
168
|
|
169
|
+
RSpec/LeadingSubject:
|
170
|
+
Exclude:
|
171
|
+
- spec/support/pundit.rb
|
172
|
+
|
160
173
|
RSpec/LetSetup:
|
161
174
|
Enabled: false
|
162
175
|
|