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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 13b052509f1e53be9d64342ac76775f365d01f4f65227f08d7d6188570829927
4
- data.tar.gz: edb72d90f8ce3ddf7d09f814e83e966583373255ddbbdbdaceb6d5fbf0bd2daa
3
+ metadata.gz: e23aac56c0e7b184c9cc631ba70e8ac0c654aa47ec6e368737c089014d28c6ed
4
+ data.tar.gz: 48ef7a1dd5fa1145b5617b42abde18ae11480ec1609e9f9199daebbdde952d66
5
5
  SHA512:
6
- metadata.gz: facce0f6c1e7aada9d188605b7c9ef62a0ecf67308f851a59e3551c4956483371ee90ef658111a0637fd43629994f94943b29136467a95e9d3524b6ed5dfde62
7
- data.tar.gz: 0445fbe3ef6124a6cd264b7123aa5c320f64ece9cdbd8973c8db10530682276246e27d1b696cbdba00cec9b4aeba643ddb34715cebd96d3fbf034aeecd67e93c
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
- # TODO: validate these choices for Harmonization
375
- # BindingConstantWithoutTypeAlias
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Gusto
5
- VERSION = "10.9.3"
5
+ VERSION = "10.9.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-gusto
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.9.3
4
+ version: 10.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineering