much-style-guide 0.2.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/much-style-guide/rubocop.yml +29 -0
- data/lib/much-style-guide/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed49029a75ef09de9a31334a853627fd610e59b736f42028acd18fbd1d9f6e6f
|
|
4
|
+
data.tar.gz: a96c0502c457045a05b07a13581a763df3436eda897d5499c712d14ebae5f576
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9ad23d0f582aceff039306b4fc4d1045e702f1d583982a8a25f273ed929d4b701bf9d356af7212fd6afba0424a5932ebcba724f0fea1b6c4316818ffec38dd0
|
|
7
|
+
data.tar.gz: 6df9e0cf6e286d4bb0f73e377f2e08bfd8b586f77e2283f489886195102a2beb6a7173c3cbfc5b9524a7b721caf214d2de03f5c76769e69cbb0377cc29b95f61
|
|
@@ -7,12 +7,19 @@ require:
|
|
|
7
7
|
AllCops:
|
|
8
8
|
DisplayCopNames: true
|
|
9
9
|
DisplayStyleGuide: true
|
|
10
|
+
SuggestExtensions: false
|
|
11
|
+
Exclude:
|
|
12
|
+
- "**/clirb.rb"
|
|
13
|
+
- "tmp/**/*.rb"
|
|
10
14
|
|
|
11
15
|
##### LAYOUT #####
|
|
12
16
|
|
|
13
17
|
Layout/DotPosition:
|
|
14
18
|
EnforcedStyle: leading
|
|
15
19
|
|
|
20
|
+
Layout/EmptyLineAfterMagicComment:
|
|
21
|
+
Enabled: true
|
|
22
|
+
|
|
16
23
|
Layout/EmptyLineBetweenDefs:
|
|
17
24
|
AllowAdjacentOneLineDefs: true
|
|
18
25
|
|
|
@@ -30,6 +37,16 @@ Layout/LineLength:
|
|
|
30
37
|
- !ruby/regexp /\A\s*module {?\w+(?:::\w+)+}?\z/
|
|
31
38
|
- !ruby/regexp /\A\s*class {?\w+(?:::\w+)+}?\z/
|
|
32
39
|
- !ruby/regexp /\A\s*include {?\w+(?:::\w+)+}?\z/
|
|
40
|
+
# Links
|
|
41
|
+
- !ruby/regexp /\A\s*#\s*http.*\z/
|
|
42
|
+
# Requires
|
|
43
|
+
- !ruby/regexp /\A\s*require\s+".+\z/
|
|
44
|
+
|
|
45
|
+
Layout/MultilineArrayBraceLayout:
|
|
46
|
+
EnforcedStyle: new_line
|
|
47
|
+
|
|
48
|
+
Layout/MultilineHashBraceLayout:
|
|
49
|
+
EnforcedStyle: new_line
|
|
33
50
|
|
|
34
51
|
Layout/MultilineMethodCallIndentation:
|
|
35
52
|
EnforcedStyle: indented_relative_to_receiver
|
|
@@ -89,6 +106,9 @@ Naming/ClassAndModuleCamelCase:
|
|
|
89
106
|
Naming/FileName:
|
|
90
107
|
Enabled: false
|
|
91
108
|
|
|
109
|
+
Naming/MethodName:
|
|
110
|
+
Enabled: false
|
|
111
|
+
|
|
92
112
|
Naming/MethodParameterName:
|
|
93
113
|
Enabled: false
|
|
94
114
|
|
|
@@ -126,6 +146,9 @@ Style/EachWithObject:
|
|
|
126
146
|
Style/EmptyMethod:
|
|
127
147
|
EnforcedStyle: expanded
|
|
128
148
|
|
|
149
|
+
Style/FormatString:
|
|
150
|
+
Enabled: false
|
|
151
|
+
|
|
129
152
|
# Needed to override Shopify setting.
|
|
130
153
|
Style/IfUnlessModifier:
|
|
131
154
|
Enabled: true
|
|
@@ -142,6 +165,12 @@ Style/ParallelAssignment:
|
|
|
142
165
|
Style/ParenthesesAroundCondition:
|
|
143
166
|
AllowInMultilineConditions: true
|
|
144
167
|
|
|
168
|
+
Style/Proc:
|
|
169
|
+
Enabled: false
|
|
170
|
+
|
|
171
|
+
Style/RaiseArgs:
|
|
172
|
+
Enabled: false
|
|
173
|
+
|
|
145
174
|
Style/RedundantBegin:
|
|
146
175
|
Enabled: false
|
|
147
176
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: much-style-guide
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kelly Redding
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2021-
|
|
12
|
+
date: 2021-02-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: assert
|