sharp_style_rubocop 0.1.3 → 0.1.5
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/CHANGELOG.md +9 -0
- data/config/default.yml +11 -0
- data/lib/sharp_style_rubocop/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: b1360283780d2d2d56329495b796d550208a105b302df25235b7088ece14500c
|
|
4
|
+
data.tar.gz: 03a4b8f7494c5e0c13db43b825c505fe2e9932737c3eea64285af202b308da30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f7b22d92f31b14398a2b02ed953ee28cf4af9213928647dcfc1f4f5c624c10c748ede42c8945bef92923fccbf18a2d62bc14b6bafb5b8e59f42eaf09b649582
|
|
7
|
+
data.tar.gz: 5865a4a8809a2d90691cd7a117aa74fbdb85f79b53740be97a3751323464a3242e4d9b72af6769ff675cb40df8726e9ca113c216e692f70bf17f385bd028a890
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.1.5] - 2026-10-30
|
|
4
|
+
|
|
5
|
+
- Enable `Layout/MultilineArrayLineBreaks` for readability.
|
|
6
|
+
- Set `Layout/FirstMethodArgumentLineBreak` `AllowMultilineFinalElement` so method arguments can leave their opening brackets on the first line.
|
|
7
|
+
|
|
8
|
+
## [0.1.4] - 2026-10-30
|
|
9
|
+
|
|
10
|
+
- Exclude `Guardfile` from `Layout/FirstMethodArgumentLineBreak` so the guard plugin can sit on the guard line.
|
|
11
|
+
|
|
3
12
|
## [0.1.3] - 2026-10-29
|
|
4
13
|
|
|
5
14
|
- Exclude `db/migrate/**/*`, `db/schema.rb` and `db/*_schema.rb` from `Style/MethodCallWithArgsParentheses` since Rails generates them without parentheses.
|
data/config/default.yml
CHANGED
|
@@ -79,6 +79,14 @@ Layout/FirstHashElementIndentation:
|
|
|
79
79
|
# Enabled for readability. Counterpart Layout/MultilineMethodArgumentLineBreaks is also needed.
|
|
80
80
|
Layout/FirstMethodArgumentLineBreak:
|
|
81
81
|
Enabled: true
|
|
82
|
+
AllowMultilineFinalElement: true
|
|
83
|
+
# This allows the guard plugin to be on the guard line e.g.
|
|
84
|
+
#
|
|
85
|
+
# guard(:rubocop,
|
|
86
|
+
# all_on_start: true
|
|
87
|
+
# all_after_pass: true) do
|
|
88
|
+
Exclude:
|
|
89
|
+
- Guardfile
|
|
82
90
|
|
|
83
91
|
# Enabled for readability. Counterpart Layout/MultilineMethodParameterLineBreaks is also needed.
|
|
84
92
|
Layout/FirstMethodParameterLineBreak:
|
|
@@ -93,6 +101,9 @@ Layout/HashAlignment:
|
|
|
93
101
|
- key
|
|
94
102
|
- table
|
|
95
103
|
|
|
104
|
+
Layout/MultilineArrayLineBreaks:
|
|
105
|
+
Enabled: true
|
|
106
|
+
|
|
96
107
|
# Enabled for readability. Counterpart Layout/FirstMethodArgumentLineBreak is also needed.
|
|
97
108
|
Layout/MultilineMethodArgumentLineBreaks:
|
|
98
109
|
Enabled: true
|