sharp_style_rubocop 0.1.0 → 0.1.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/CHANGELOG.md +4 -2
- data/README.md +4 -0
- data/config/default.yml +8 -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: 4862bb4736abcd0db989bb19d539cd4750c5efa348a750fa6f9c3e48f77b7dd5
|
|
4
|
+
data.tar.gz: 644cade7de95575d079fd28ea7b7b48dbd6224f11868c838bb70788a8fb0b91c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b17bbdf47994f8000fe020ea4a3d7040537b43d77ee9a105b811ed2216cc36741637bdd788dd71677eee9a187bf071bb7074d321085b63602a6b52f3586ec022
|
|
7
|
+
data.tar.gz: 94bd54e6a5c71bad62ae8c5b1ec2108a2838e0741314e8ef2618a6d57c53b997ac146932e74ca823b441a38e3b264ab33fcdc0e309895f679288fc5c0924b63d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
## [0.1.1] - 2026-10-28
|
|
4
|
+
|
|
5
|
+
- Set `Layout/ArgumentAlignment` to `with_fixed_indentation` as a Preview default for RuboCop 2.0.
|
|
6
|
+
- Disable `Naming/HeredocDelimiterNaming` as a Preview default for RuboCop 2.0.
|
|
5
7
|
|
|
6
8
|
## [0.1.0] - 2026-10-27
|
|
7
9
|
|
data/README.md
CHANGED
|
@@ -4,6 +4,10 @@ My RuboCop style, packaged as a gem so every project can share the same rules.
|
|
|
4
4
|
|
|
5
5
|
It bundles a RuboCop configuration (`config/default.yml`) along with the `rubocop-performance` and `rubocop-rspec` plugins it uses.
|
|
6
6
|
|
|
7
|
+
See the following links for information on why I chose many of these changes:
|
|
8
|
+
- [RuboCop 1.91: The Journey to 2.0 Begins](https://metaredux.com/posts/2026/09/11/rubocop-1-91.html)
|
|
9
|
+
- [Rubocop issue #15363](https://github.com/rubocop/rubocop/issues/15363)
|
|
10
|
+
|
|
7
11
|
## Installation
|
|
8
12
|
|
|
9
13
|
Add the gem to your Gemfile:
|
data/config/default.yml
CHANGED
|
@@ -48,6 +48,10 @@ Style:
|
|
|
48
48
|
Bundler/OrderedGems:
|
|
49
49
|
Enabled: true
|
|
50
50
|
|
|
51
|
+
# Rubocop 2.0
|
|
52
|
+
Layout/ArgumentAlignment:
|
|
53
|
+
EnforcedStyle: with_fixed_indentation
|
|
54
|
+
|
|
51
55
|
# Align 'when/else' with 'end', prevents wasting whitespace
|
|
52
56
|
Layout/CaseIndentation:
|
|
53
57
|
EnforcedStyle: end
|
|
@@ -158,6 +162,10 @@ Metrics/ParameterLists:
|
|
|
158
162
|
Metrics/PerceivedComplexity:
|
|
159
163
|
Max: 12
|
|
160
164
|
|
|
165
|
+
# Rubocop 2.0
|
|
166
|
+
Naming/HeredocDelimiterNaming:
|
|
167
|
+
Enabled: false
|
|
168
|
+
|
|
161
169
|
# Be kind
|
|
162
170
|
Naming/InclusiveLanguage:
|
|
163
171
|
Enabled: true
|