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 +4 -4
- data/CHANGELOG.md +14 -0
- data/config/default.yml +6 -24
- data/config/rails.yml +0 -7
- 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,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
|
-
#
|
|
382
|
-
#
|
|
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
|