rubocop-gusto 10.9.2 → 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: cca5632a6007521f13cac06aa76289c66ed70184d19fc388dec18b8b6b5ecbb1
4
- data.tar.gz: b315f4ab5aa4b8f646a1494cd7b433296f4cd1558f952bfec6ce5bfb3f4ea264
3
+ metadata.gz: e23aac56c0e7b184c9cc631ba70e8ac0c654aa47ec6e368737c089014d28c6ed
4
+ data.tar.gz: 48ef7a1dd5fa1145b5617b42abde18ae11480ec1609e9f9199daebbdde952d66
5
5
  SHA512:
6
- metadata.gz: 8eef2544e0fd96f673d0eecc769cd8218c38268defadc0dccec7c61eb02a86ae48e5ed8142cbb0c218b3f4e7236d07a729599a6259b7042d7ad4ba926d85a448
7
- data.tar.gz: f0830eff4ab7e2cd69a16e00f55d788d493ea4a554eb191c02f2bc129d83f901cafb7b9cb0e3a2905763f0ee63442af0b19025582f153ee59df8b893838d3c55
6
+ metadata.gz: 5c7059ad1293db2d96cba104f20009a3f4cdd7c487c34808264673ac9e65abdb9a60a6859e83d817843674a854ae5423328b719b1146edb9b60aca3296e4dc05
7
+ data.tar.gz: f9734a51d5eb38959f52c78e1c22aa028f65789e566c6067f0f38bbef4e76938d4deb5dd727709f1d2586615b93f29bdea58e39c692d38d54a69b8c328cece2f
data/CHANGELOG.md CHANGED
@@ -3,6 +3,20 @@
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
+
13
+ ## [10.9.3](https://github.com/Gusto/rubocop-gusto/compare/v10.9.2...v10.9.3) (2026-05-27)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * stop overriding AllCops scope in shared configs ([#117](https://github.com/Gusto/rubocop-gusto/issues/117)) ([6e1f5db](https://github.com/Gusto/rubocop-gusto/commit/6e1f5db6b6e12147c2d09f06f6a680c32eba36e7))
19
+
6
20
  ## [10.9.2](https://github.com/Gusto/rubocop-gusto/compare/v10.9.1...v10.9.2) (2026-05-22)
7
21
 
8
22
 
data/config/default.yml CHANGED
@@ -8,13 +8,6 @@ plugins:
8
8
 
9
9
  AllCops:
10
10
  TargetRubyVersion: <%= RbConfig::CONFIG['RUBY_API_VERSION'] %>
11
- MaxFilesInCache: 100000
12
- Exclude:
13
- - './.[!.]*' # ignore all dotfiles
14
- - './.[!.]*/**/*' # ignore all dot directories
15
- - 'config/boot.rb'
16
- - 'db/**/*schema.rb'
17
- - 'db/seeds{.rb,/**/*}'
18
11
  DisplayCopNames: true
19
12
  NewCops: disable
20
13
  SuggestExtensions: false
@@ -183,6 +176,9 @@ Layout/FirstMethodArgumentLineBreak:
183
176
  Layout/FirstMethodParameterLineBreak:
184
177
  Enabled: true
185
178
 
179
+ Layout/LeadingCommentSpace:
180
+ AllowRBSInlineAnnotation: true
181
+
186
182
  Layout/LineLength:
187
183
  # TODO: Pick some maximum like 200 to start with
188
184
  Enabled: false
@@ -377,12 +373,9 @@ Rack/LowercaseHeaderKeys:
377
373
  Rake/ClassDefinitionInTask:
378
374
  Enabled: false
379
375
 
380
- Sorbet:
381
- # TODO: validate these choices for Harmonization
382
- # BindingConstantWithoutTypeAlias
383
- # EnforceSigilOrder # verify this works with Teams annotations
384
- # ForbidUntypedStructProps
385
- # 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.
386
379
  Enabled: true
387
380
 
388
381
  Sorbet/Refinement:
@@ -394,21 +387,10 @@ Sorbet/StrictSigil:
394
387
  # Check this out: https://sorbet.org/docs/static#file-level-granularity-strictness-levels
395
388
  Enabled: true
396
389
  Exclude:
397
- - bin/**/*
398
- - db/**/*.rb
399
- - script/**/*
400
390
  - spec/**/*spec.rb
401
391
 
402
392
  Sorbet/ValidSigil:
403
393
  RequireSigilOnAllFiles: true
404
- # We don't want to require any specific typed level at this point – only that there IS a typed sigil.
405
- MinimumStrictness: ignore
406
- # We do suggest that the user type their file as `typed: strict`
407
- SuggestedStrictness: strict
408
- Exclude:
409
- - '**/db/migrate/**/*'
410
- - '**/*.{rake,arb,erb,rabl}'
411
- - '**/{Gemfile,Rakefile}'
412
394
 
413
395
  Style/AccessorGrouping:
414
396
  Enabled: false
data/config/rails.yml CHANGED
@@ -9,13 +9,6 @@ plugins:
9
9
  AllCops:
10
10
  ActiveSupportExtensionsEnabled: true
11
11
  TargetRubyVersion: <%= RbConfig::CONFIG['RUBY_API_VERSION'] %>
12
- MaxFilesInCache: 100000
13
- Exclude:
14
- - './.[!.]*' # ignore all dotfiles
15
- - './.[!.]*/**/*' # ignore all dot directories
16
- - 'config/boot.rb'
17
- - 'db/**/*schema.rb'
18
- - 'db/seeds{.rb,/**/*}'
19
12
 
20
13
  Gusto/DiscouragedGem:
21
14
  Enabled: true
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Gusto
5
- VERSION = "10.9.2"
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.2
4
+ version: 10.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusto Engineering