rubocop-gusto 10.9.3 → 10.9.4
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 +7 -0
- data/config/default.yml +6 -17
- data/lib/rubocop/gusto/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: e23aac56c0e7b184c9cc631ba70e8ac0c654aa47ec6e368737c089014d28c6ed
|
|
4
|
+
data.tar.gz: 48ef7a1dd5fa1145b5617b42abde18ae11480ec1609e9f9199daebbdde952d66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c7059ad1293db2d96cba104f20009a3f4cdd7c487c34808264673ac9e65abdb9a60a6859e83d817843674a854ae5423328b719b1146edb9b60aca3296e4dc05
|
|
7
|
+
data.tar.gz: f9734a51d5eb38959f52c78e1c22aa028f65789e566c6067f0f38bbef4e76938d4deb5dd727709f1d2586615b93f29bdea58e39c692d38d54a69b8c328cece2f
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
- Remove redundant `Rails: Enabled: true` from `config/rails.yml` (already set by rubocop-rails' own defaults)
|
|
4
4
|
- Enable `Rails/DefaultScope` cop (disabled by default in rubocop-rails)
|
|
5
5
|
|
|
6
|
+
## [10.9.4](https://github.com/Gusto/rubocop-gusto/compare/v10.9.3...v10.9.4) (2026-06-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* tighten Sorbet sigil config and allow RBS inline annotations ([#120](https://github.com/Gusto/rubocop-gusto/issues/120)) ([0e9eef6](https://github.com/Gusto/rubocop-gusto/commit/0e9eef619b3123fc78004ee8466cf3b4137dd0b8))
|
|
12
|
+
|
|
6
13
|
## [10.9.3](https://github.com/Gusto/rubocop-gusto/compare/v10.9.2...v10.9.3) (2026-05-27)
|
|
7
14
|
|
|
8
15
|
|
data/config/default.yml
CHANGED
|
@@ -176,6 +176,9 @@ Layout/FirstMethodArgumentLineBreak:
|
|
|
176
176
|
Layout/FirstMethodParameterLineBreak:
|
|
177
177
|
Enabled: true
|
|
178
178
|
|
|
179
|
+
Layout/LeadingCommentSpace:
|
|
180
|
+
AllowRBSInlineAnnotation: true
|
|
181
|
+
|
|
179
182
|
Layout/LineLength:
|
|
180
183
|
# TODO: Pick some maximum like 200 to start with
|
|
181
184
|
Enabled: false
|
|
@@ -370,12 +373,9 @@ Rack/LowercaseHeaderKeys:
|
|
|
370
373
|
Rake/ClassDefinitionInTask:
|
|
371
374
|
Enabled: false
|
|
372
375
|
|
|
373
|
-
Sorbet:
|
|
374
|
-
#
|
|
375
|
-
#
|
|
376
|
-
# EnforceSigilOrder # verify this works with Teams annotations
|
|
377
|
-
# ForbidUntypedStructProps
|
|
378
|
-
# SignatureBuildOrder
|
|
376
|
+
Sorbet/ForbidTUnsafe:
|
|
377
|
+
# T.unsafe completely disables typechecking. Prefer T.cast, shims, or
|
|
378
|
+
# reorganizing the code over silently turning off the type checker.
|
|
379
379
|
Enabled: true
|
|
380
380
|
|
|
381
381
|
Sorbet/Refinement:
|
|
@@ -387,21 +387,10 @@ Sorbet/StrictSigil:
|
|
|
387
387
|
# Check this out: https://sorbet.org/docs/static#file-level-granularity-strictness-levels
|
|
388
388
|
Enabled: true
|
|
389
389
|
Exclude:
|
|
390
|
-
- bin/**/*
|
|
391
|
-
- db/**/*.rb
|
|
392
|
-
- script/**/*
|
|
393
390
|
- spec/**/*spec.rb
|
|
394
391
|
|
|
395
392
|
Sorbet/ValidSigil:
|
|
396
393
|
RequireSigilOnAllFiles: true
|
|
397
|
-
# We don't want to require any specific typed level at this point – only that there IS a typed sigil.
|
|
398
|
-
MinimumStrictness: ignore
|
|
399
|
-
# We do suggest that the user type their file as `typed: strict`
|
|
400
|
-
SuggestedStrictness: strict
|
|
401
|
-
Exclude:
|
|
402
|
-
- '**/db/migrate/**/*'
|
|
403
|
-
- '**/*.{rake,arb,erb,rabl}'
|
|
404
|
-
- '**/{Gemfile,Rakefile}'
|
|
405
394
|
|
|
406
395
|
Style/AccessorGrouping:
|
|
407
396
|
Enabled: false
|