standard-rubocop-lts 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +9 -0
- data/README.md +32 -4
- data/config/base.yml +1 -19
- data/config/ruby-1.8.yml +23 -21
- data/config/ruby-1.9.yml +11 -38
- data/config/ruby-2.0.yml +11 -1
- data/config/ruby-2.1.yml +11 -1
- data/config/ruby-2.2.yml +10 -15
- data/config/ruby-2.3.yml +11 -1
- data/config/ruby-2.4.yml +11 -1
- data/config/ruby-2.5.yml +11 -1
- data/config/ruby-2.6.yml +11 -1
- data/config/ruby-2.7.yml +11 -1
- data/config/ruby-3.0.yml +11 -1
- data/config/ruby-3.1.yml +11 -1
- data/config/ruby-3.2.yml +12 -1
- data/config/ruby-3.3.yml +13 -1
- data/lib/standard/rubocop/lts/version.rb +4 -1
- data/lib/standard/rubocop/lts.rb +5 -1
- data.tar.gz.sig +0 -0
- metadata +71 -15
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b834cd74e025029f69f4c2b53d76c21f0f8936cdc9b6a495e6a7388217bf4c6
|
4
|
+
data.tar.gz: dfd0b2b0256bc6a225efb647a416b6cd0d2b991ec9275123e36bb42abc792c31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e71e6ccba80923481e536338fb6c812869ec5e82bac23a3f3975ab9b1a00882dbf8972db19855e61eb0b786faf16e786dd835e73a976f4172a35929c559cf916
|
7
|
+
data.tar.gz: c6c94e6665fb558ba47adb5eb41bfd0d0c5d0cae6c8b7da2e6c5042cf4d2a8a00dbab9d7d50c184ed91416a88f87f6d7c0a1a30ae83c70628b72fb7063803d0e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
10
10
|
### Fixed
|
11
11
|
### Removed
|
12
12
|
|
13
|
+
## [1.0.4] 2023-06-03
|
14
|
+
### Fixed
|
15
|
+
- rubocop-shopify > standard gem family of rules
|
16
|
+
- v1.0.0 intended for rubocop-shopify to override standard's rules, now it actually does
|
17
|
+
- override mechanism in rubocop.yml config is counter-intuitive :(
|
18
|
+
- Stop doubly loading style libs and configs with more careful config structure
|
19
|
+
### Changed
|
20
|
+
- disable several rubocop-performance cops that are bad cops
|
21
|
+
|
13
22
|
## [1.0.3] 2023-05-29
|
14
23
|
### Added
|
15
24
|
- Gem releases are now signed!
|
data/README.md
CHANGED
@@ -84,7 +84,7 @@ It will enable your Ruby style rules to keep pace with whatever version of Ruby
|
|
84
84
|
Extended [standard (Standard Ruby)][standardrb] config shims for all your finely-aged rubies,
|
85
85
|
back to Ruby version 1.8. Compatible with the `rubocop-lts` [gem family](#a-gem-family).
|
86
86
|
|
87
|
-
Use the rules standard gives you, and then add more,
|
87
|
+
Use the rules standard gives you, and then add more,
|
88
88
|
to increase your code's compatibility across multiple versions of Ruby.
|
89
89
|
|
90
90
|
Only reach as far back as you need to go!
|
@@ -176,16 +176,44 @@ require:
|
|
176
176
|
- standard-performance
|
177
177
|
- standard-custom
|
178
178
|
|
179
|
+
# Rules are overridden in a LIFO stack.
|
180
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
181
|
+
# then rubocop-performance's rules will take precedence.
|
182
|
+
# This is the opposite of what you might expect.
|
183
|
+
# Below: standard's rule disablement overrides rubocop-performance's config/default.yml
|
179
184
|
inherit_gem:
|
180
|
-
rubocop-performance: config/default.yml
|
181
185
|
standard: config/base.yml
|
182
186
|
standard-performance: config/base.yml
|
183
187
|
standard-custom: config/base.yml
|
184
|
-
|
185
|
-
# Plus+: Many ruby-version-specific configs that standard does not have
|
188
|
+
rubocop-performance: config/default.yml
|
186
189
|
|
187
190
|
AllCops:
|
188
191
|
NewCops: enable
|
192
|
+
|
193
|
+
# See:
|
194
|
+
# https://github.com/rubocop/rubocop-performance/issues/240
|
195
|
+
# https://github.com/rubocop/rubocop-performance/pull/241
|
196
|
+
Performance/Casecmp:
|
197
|
+
Enabled: false
|
198
|
+
|
199
|
+
# See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1375527811
|
200
|
+
Performance/BlockGivenWithExplicitBlock:
|
201
|
+
Enabled: false
|
202
|
+
|
203
|
+
# See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
|
204
|
+
Performance/ArraySemiInfiniteRangeSlice:
|
205
|
+
Enabled: false
|
206
|
+
|
207
|
+
# See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
|
208
|
+
Performance/BigDecimalWithNumericArgument:
|
209
|
+
Enabled: false
|
210
|
+
|
211
|
+
# See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
|
212
|
+
Performance/IoReadlines:
|
213
|
+
Enabled: false
|
214
|
+
|
215
|
+
# Plus: Ruby-version-specific configs provided by "standard" family of gems
|
216
|
+
# Plus+: Ruby-version-specific configs that standard does not have
|
189
217
|
```
|
190
218
|
</details>
|
191
219
|
|
data/config/base.yml
CHANGED
@@ -1,20 +1,2 @@
|
|
1
|
-
# We want Exclude directives from different
|
2
|
-
# config files to get merged, not overwritten
|
3
|
-
inherit_mode:
|
4
|
-
merge:
|
5
|
-
- Exclude
|
6
|
-
|
7
|
-
require:
|
8
|
-
- rubocop-performance
|
9
|
-
- standard
|
10
|
-
- standard-performance
|
11
|
-
- standard-custom
|
12
|
-
|
13
|
-
inherit_gem:
|
14
|
-
rubocop-performance: config/default.yml
|
15
|
-
standard: config/base.yml
|
16
|
-
standard-performance: config/base.yml
|
17
|
-
standard-custom: config/base.yml
|
18
|
-
|
19
1
|
AllCops:
|
20
|
-
NewCops: enable
|
2
|
+
NewCops: enable
|
data/config/ruby-1.8.yml
CHANGED
@@ -1,26 +1,28 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-1.8.yml
|
2
4
|
|
3
|
-
#
|
4
|
-
#
|
5
|
-
|
5
|
+
# We want Exclude and Include directives from different
|
6
|
+
# config files to get merged, not overwritten
|
7
|
+
inherit_mode:
|
8
|
+
merge:
|
9
|
+
- Exclude
|
10
|
+
- Include
|
11
|
+
|
12
|
+
require:
|
13
|
+
- standard
|
14
|
+
- standard-performance
|
15
|
+
- standard-custom
|
16
|
+
- rubocop-performance
|
6
17
|
|
7
18
|
# Load basic rules for this version of Ruby from standard.
|
19
|
+
# Rules are overridden in a LIFO stack.
|
20
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
21
|
+
# then rubocop-performance's rules will take precedence.
|
22
|
+
# This is the opposite of what you might expect.
|
23
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
8
24
|
inherit_gem:
|
9
25
|
standard: config/ruby-1.8.yml
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
# These are not in standard, and are the primary reason this gem exists. #
|
14
|
-
##############################################################################
|
15
|
-
|
16
|
-
# Ruby 1.8.7 needs the . on chain of method calls at the end of a line
|
17
|
-
# This cop is disabled for Ruby 1.8 in Standard, which is doesn't help
|
18
|
-
# RuboCop/Standard users ensure their codebase remains compatible with Ruby 1.8
|
19
|
-
# As such we override here!
|
20
|
-
# See: https://github.com/standardrb/standard/issues/561
|
21
|
-
Layout/DotPosition:
|
22
|
-
EnforcedStyle: trailing
|
23
|
-
|
24
|
-
# Disabled in standard's base.yml. Keeping here in case it is removed from base.
|
25
|
-
Style/Documentation:
|
26
|
-
Enabled: false
|
26
|
+
standard-performance: config/ruby-1.8.yml
|
27
|
+
standard-custom: config/base.yml
|
28
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-1.9.yml
CHANGED
@@ -1,42 +1,15 @@
|
|
1
|
-
inherit_from:
|
2
|
-
|
3
|
-
|
4
|
-
# AllCops:
|
5
|
-
# TargetRubyVersion: 1.9
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-1.9.yml
|
6
4
|
|
7
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
8
11
|
inherit_gem:
|
9
12
|
standard: config/ruby-1.9.yml
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
# Percent delimiters are not supported until Ruby 2.0
|
14
|
-
Style/PercentLiteralDelimiters:
|
15
|
-
Enabled: false
|
16
|
-
|
17
|
-
Style/SymbolArray:
|
18
|
-
EnforcedStyle: brackets
|
19
|
-
|
20
|
-
Style/WordArray:
|
21
|
-
EnforcedStyle: brackets
|
22
|
-
|
23
|
-
##############################################################################
|
24
|
-
# Additional rules that allow preservation of ruby 1.8.7 / ree compatibility #
|
25
|
-
# These are not in standard, and are a secondary reason this gem exists. #
|
26
|
-
##############################################################################
|
27
|
-
|
28
|
-
# Disabled in standard's base.yml, which allows magic encoding comments to live on.
|
29
|
-
# Reproducing here, in case Standard Ruby drops the config.
|
30
|
-
#
|
31
|
-
Style/Encoding:
|
32
|
-
Enabled: false
|
33
|
-
# The encoding comments can be removed once a project drops Ruby 1.9 support.
|
34
|
-
# Whole file UTF-8 Encoding is default in Ruby 2+, so the Encoding comment is usually not needed there.
|
35
|
-
# See:
|
36
|
-
# * https://www.rubydoc.info/gems/rubocop/0.49.0/RuboCop/Cop/Style/Encoding
|
37
|
-
# * https://rubydoc.info/gems/rubocop/RuboCop/Cop/Style/Encoding
|
38
|
-
# Unfortunately in latest RuboCop there is only a "never" style enforced (i.e. encodings are always bad).
|
39
|
-
# TODO: Consider bringing back this rule as a new Cop (extracted from old RuboCop)
|
40
|
-
#Style/Encoding:
|
41
|
-
# Enabled: true
|
42
|
-
# EnforcedStyle: always
|
13
|
+
standard-performance: config/ruby-1.9.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.0.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.0.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.0.yml
|
13
|
+
standard-performance: config/ruby-2.0.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.1.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.1.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.1.yml
|
13
|
+
standard-performance: config/ruby-2.1.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.2.yml
CHANGED
@@ -1,20 +1,15 @@
|
|
1
|
-
inherit_from:
|
2
|
-
|
3
|
-
|
4
|
-
- rubocop-performance
|
5
|
-
- standard
|
6
|
-
- standard-performance
|
7
|
-
- standard-custom
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.2.yml
|
8
4
|
|
9
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
10
11
|
inherit_gem:
|
11
|
-
# Duplicated from config/base.yml because of the yaml hierarchy.
|
12
|
-
rubocop-performance: config/default.yml
|
13
|
-
# Ruby version-specific overrides for specific additional gems.
|
14
12
|
standard: config/ruby-2.2.yml
|
15
13
|
standard-performance: config/ruby-2.2.yml
|
16
|
-
|
17
|
-
|
18
|
-
# As of Ruby 3, string literals are frozen in all files.
|
19
|
-
Style/FrozenStringLiteralComment:
|
20
|
-
Enabled: false
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.3.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.3.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.3.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.4.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.5.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.4.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.5.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.5.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.5.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.6.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.6.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.6.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-2.7.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-2.7.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-2.7.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-3.0.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-3.0.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-3.0.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-3.1.yml
CHANGED
@@ -1,5 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-3.1.yml
|
2
4
|
|
3
5
|
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
4
11
|
inherit_gem:
|
5
12
|
standard: config/ruby-3.1.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-3.2.yml
CHANGED
@@ -1,4 +1,15 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-3.2.yml
|
2
4
|
|
5
|
+
# Load basic rules for this version of Ruby from standard.
|
6
|
+
# Rules are overridden in a LIFO stack.
|
7
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
8
|
+
# then rubocop-performance's rules will take precedence.
|
9
|
+
# This is the opposite of what you might expect.
|
10
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
3
11
|
inherit_gem:
|
4
12
|
standard: config/ruby-3.2.yml
|
13
|
+
standard-performance: config/base.yml
|
14
|
+
standard-custom: config/base.yml
|
15
|
+
rubocop-performance: config/default.yml
|
data/config/ruby-3.3.yml
CHANGED
@@ -1,6 +1,18 @@
|
|
1
|
-
inherit_from:
|
1
|
+
inherit_from:
|
2
|
+
- ./base.yml
|
3
|
+
- ./internal/ruby-3.3.yml
|
2
4
|
|
3
5
|
# TODO: Load basic rules for this version of Ruby from standard, once Standard includes it!
|
4
6
|
# See: https://github.com/standardrb/standard/pull/560
|
5
7
|
# inherit_gem:
|
6
8
|
# standard: config/ruby-3.3.yml
|
9
|
+
# Rules are overridden in a LIFO stack.
|
10
|
+
# If rubocop-performance is loaded first, and standard-performance after it,
|
11
|
+
# then rubocop-performance's rules will take precedence.
|
12
|
+
# This is the opposite of what you might expect.
|
13
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
14
|
+
inherit_gem:
|
15
|
+
standard: config/base.yml
|
16
|
+
standard-performance: config/base.yml
|
17
|
+
standard-custom: config/base.yml
|
18
|
+
rubocop-performance: config/default.yml
|
data/lib/standard/rubocop/lts.rb
CHANGED
@@ -5,11 +5,15 @@ require "version_gem"
|
|
5
5
|
|
6
6
|
require_relative "lts/version"
|
7
7
|
|
8
|
+
# Namespace for this library
|
8
9
|
module Standard
|
10
|
+
# Configure / override standard's rules for use with rubocop-lts
|
9
11
|
module Rubocop
|
12
|
+
# Lts indicates support for Ruby style linting back to Ruby 1.8 & 1.9
|
13
|
+
# rubocop itself stops at Ruby 2.0
|
10
14
|
module Lts
|
15
|
+
# So far, the Error class is unused.
|
11
16
|
class Error < StandardError; end
|
12
|
-
# Your code goes here...
|
13
17
|
end
|
14
18
|
end
|
15
19
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard-rubocop-lts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
|
37
37
|
4/bR9A==
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2023-
|
39
|
+
date: 2023-06-03 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: version_gem
|
@@ -64,7 +64,7 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: 1.
|
67
|
+
version: '1.29'
|
68
68
|
- - "<"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '2'
|
@@ -74,7 +74,7 @@ dependencies:
|
|
74
74
|
requirements:
|
75
75
|
- - ">="
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version: 1.
|
77
|
+
version: '1.29'
|
78
78
|
- - "<"
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '2'
|
@@ -84,7 +84,7 @@ dependencies:
|
|
84
84
|
requirements:
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '1.
|
87
|
+
version: '1.1'
|
88
88
|
- - "<"
|
89
89
|
- !ruby/object:Gem::Version
|
90
90
|
version: '2'
|
@@ -94,7 +94,7 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '1.
|
97
|
+
version: '1.1'
|
98
98
|
- - "<"
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '2'
|
@@ -118,6 +118,62 @@ dependencies:
|
|
118
118
|
- - "<"
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '2'
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
name: rspec
|
123
|
+
requirement: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - "~>"
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '3.10'
|
128
|
+
type: :development
|
129
|
+
prerelease: false
|
130
|
+
version_requirements: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - "~>"
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '3.10'
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: rspec-block_is_expected
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - "~>"
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '1.0'
|
142
|
+
type: :development
|
143
|
+
prerelease: false
|
144
|
+
version_requirements: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - "~>"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '1.0'
|
149
|
+
- !ruby/object:Gem::Dependency
|
150
|
+
name: rake
|
151
|
+
requirement: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - "~>"
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: '13.0'
|
156
|
+
type: :development
|
157
|
+
prerelease: false
|
158
|
+
version_requirements: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - "~>"
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '13.0'
|
163
|
+
- !ruby/object:Gem::Dependency
|
164
|
+
name: pry
|
165
|
+
requirement: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0'
|
170
|
+
type: :development
|
171
|
+
prerelease: false
|
172
|
+
version_requirements: !ruby/object:Gem::Requirement
|
173
|
+
requirements:
|
174
|
+
- - ">="
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: '0'
|
121
177
|
- !ruby/object:Gem::Dependency
|
122
178
|
name: rubocop-gradual
|
123
179
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,33 +245,33 @@ dependencies:
|
|
189
245
|
- !ruby/object:Gem::Version
|
190
246
|
version: '2.22'
|
191
247
|
- !ruby/object:Gem::Dependency
|
192
|
-
name: rubocop-
|
248
|
+
name: rubocop-shopify
|
193
249
|
requirement: !ruby/object:Gem::Requirement
|
194
250
|
requirements:
|
195
251
|
- - "~>"
|
196
252
|
- !ruby/object:Gem::Version
|
197
|
-
version: '
|
253
|
+
version: '2.13'
|
198
254
|
type: :development
|
199
255
|
prerelease: false
|
200
256
|
version_requirements: !ruby/object:Gem::Requirement
|
201
257
|
requirements:
|
202
258
|
- - "~>"
|
203
259
|
- !ruby/object:Gem::Version
|
204
|
-
version: '
|
260
|
+
version: '2.13'
|
205
261
|
- !ruby/object:Gem::Dependency
|
206
|
-
name:
|
262
|
+
name: rubocop-thread_safety
|
207
263
|
requirement: !ruby/object:Gem::Requirement
|
208
264
|
requirements:
|
209
265
|
- - "~>"
|
210
266
|
- !ruby/object:Gem::Version
|
211
|
-
version: '
|
267
|
+
version: '0.5'
|
212
268
|
type: :development
|
213
269
|
prerelease: false
|
214
270
|
version_requirements: !ruby/object:Gem::Requirement
|
215
271
|
requirements:
|
216
272
|
- - "~>"
|
217
273
|
- !ruby/object:Gem::Version
|
218
|
-
version: '
|
274
|
+
version: '0.5'
|
219
275
|
description: Extended Standard Ruby Configs for Finely Aged Rubies; Compatible with
|
220
276
|
rubocop-lts
|
221
277
|
email:
|
@@ -253,10 +309,10 @@ licenses:
|
|
253
309
|
- MIT
|
254
310
|
metadata:
|
255
311
|
homepage_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts
|
256
|
-
source_code_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/tree/v1.0.
|
257
|
-
changelog_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/v1.0.
|
312
|
+
source_code_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/tree/v1.0.4
|
313
|
+
changelog_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/v1.0.4/CHANGELOG.md
|
258
314
|
bug_tracker_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/issues
|
259
|
-
documentation_uri: https://www.rubydoc.info/gems/standard-rubocop-lts/1.0.
|
315
|
+
documentation_uri: https://www.rubydoc.info/gems/standard-rubocop-lts/1.0.4
|
260
316
|
wiki_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/wikis/home
|
261
317
|
funding_uri: https://liberapay.com/pboling
|
262
318
|
rubygems_mfa_required: 'true'
|
metadata.gz.sig
CHANGED
Binary file
|