standard-rubocop-lts 1.0.9 → 2.0.0
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +61 -3
- data/CODE_OF_CONDUCT.md +80 -29
- data/CONTRIBUTING.md +97 -26
- data/README.md +322 -105
- data/SECURITY.md +2 -1
- data/config/base.yml +9 -1
- data/config/internal/base.yml +6 -1
- data/config/internal/bin-bundle.yml +37 -0
- data/config/internal/ruby-1.9.yml +4 -0
- data/config/internal/ruby-2.0.yml +9 -0
- data/config/internal/ruby-2.1.yml +3 -0
- data/config/internal/ruby-2.2.yml +3 -0
- data/config/internal/ruby-2.3.yml +3 -0
- data/config/internal/ruby-2.4.yml +3 -0
- data/config/internal/ruby-2.5.yml +3 -0
- data/config/internal/ruby-2.6.yml +3 -0
- data/config/internal/ruby-2.7.yml +3 -0
- data/config/internal/ruby-3.0.yml +3 -0
- data/config/internal/ruby-3.1.yml +3 -0
- data/config/internal/ruby-3.2.yml +3 -0
- data/config/internal/ruby-3.3.yml +4 -0
- data/config/internal/ruby-3.4.yml +4 -0
- data/config/internal/ruby-3.5.yml +6 -0
- data/config/ruby-1.8.yml +9 -7
- data/config/ruby-1.9.yml +9 -7
- data/config/ruby-2.0.yml +9 -7
- data/config/ruby-2.1.yml +9 -7
- data/config/ruby-2.2.yml +9 -7
- data/config/ruby-2.3.yml +9 -7
- data/config/ruby-2.4.yml +9 -7
- data/config/ruby-2.5.yml +9 -7
- data/config/ruby-2.6.yml +9 -7
- data/config/ruby-2.7.yml +10 -7
- data/config/ruby-3.0.yml +10 -7
- data/config/ruby-3.1.yml +10 -7
- data/config/ruby-3.2.yml +10 -7
- data/config/ruby-3.3.yml +11 -12
- data/config/ruby-3.4.yml +31 -0
- data/config/ruby-3.5.yml +32 -0
- data/lib/standard/rubocop/lts/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +289 -51
- metadata.gz.sig +0 -0
@@ -1 +1,10 @@
|
|
1
1
|
inherit_from: ./ruby-2.1.yml
|
2
|
+
|
3
|
+
AllCops:
|
4
|
+
TargetRubyVersion: 2.0
|
5
|
+
|
6
|
+
# Disabled by Standard, which doesn't help compat, so overriding for Ruby < 2.1
|
7
|
+
# See: https://github.com/standardrb/standard/blob/main/config/ruby-1.9.yml#L6C1-L6C21
|
8
|
+
Style/HashConversion:
|
9
|
+
Enabled: true
|
10
|
+
AllowSplatArgument: false
|
data/config/ruby-1.8.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,7 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/ruby-1.8.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-1.8.yml
|
data/config/ruby-1.9.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,7 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/ruby-1.9.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-1.9.yml
|
data/config/ruby-2.0.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,7 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/ruby-2.0.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-2.0.yml
|
data/config/ruby-2.1.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,7 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/ruby-2.1.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-2.1.yml
|
data/config/ruby-2.2.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,7 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/ruby-2.2.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-2.2.yml
|
data/config/ruby-2.3.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,7 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/base.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-2.3.yml
|
data/config/ruby-2.4.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,7 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/base.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-2.4.yml
|
data/config/ruby-2.5.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,7 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/base.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-2.5.yml
|
data/config/ruby-2.6.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,7 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/base.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-2.6.yml
|
data/config/ruby-2.7.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,8 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/base.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-2.7.yml
|
32
|
+
- ./internal/bin-bundle.yml
|
data/config/ruby-3.0.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,8 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/base.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-3.0.yml
|
32
|
+
- ./internal/bin-bundle.yml
|
data/config/ruby-3.1.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,8 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/base.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-3.1.yml
|
32
|
+
- ./internal/bin-bundle.yml
|
data/config/ruby-3.2.yml
CHANGED
@@ -1,20 +1,18 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
17
|
# Load basic rules for this version of Ruby from standard.
|
20
18
|
# Rules are overridden in a LIFO stack.
|
@@ -27,3 +25,8 @@ inherit_gem:
|
|
27
25
|
standard-performance: config/base.yml
|
28
26
|
standard-custom: config/base.yml
|
29
27
|
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-3.2.yml
|
32
|
+
- ./internal/bin-bundle.yml
|
data/config/ruby-3.3.yml
CHANGED
@@ -1,32 +1,31 @@
|
|
1
|
-
# We want Exclude and Include directives from different
|
1
|
+
# We want the Exclude and Include directives from different
|
2
2
|
# config files to get merged, not overwritten
|
3
3
|
inherit_mode:
|
4
4
|
merge:
|
5
5
|
- Exclude
|
6
6
|
- Include
|
7
7
|
|
8
|
-
|
9
|
-
-
|
10
|
-
-
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
11
12
|
|
12
13
|
require:
|
13
14
|
- standard-rubocop-lts
|
14
15
|
- standard
|
15
|
-
- standard-performance
|
16
|
-
- standard-custom
|
17
|
-
- rubocop-performance
|
18
16
|
|
19
|
-
# TODO: Load basic rules for this version of Ruby from standard, once Standard includes it!
|
20
|
-
# See: https://github.com/standardrb/standard/pull/560
|
21
|
-
# inherit_gem:
|
22
|
-
# standard: config/ruby-3.3.yml
|
23
17
|
# Rules are overridden in a LIFO stack.
|
24
18
|
# If rubocop-performance is listed first, and standard-performance after it,
|
25
19
|
# then rubocop-performance's rules will take precedence.
|
26
20
|
# This is the opposite of what you might expect.
|
27
21
|
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
28
22
|
inherit_gem:
|
29
|
-
standard: config/
|
23
|
+
standard: config/ruby-3.3.yml
|
30
24
|
standard-performance: config/base.yml
|
31
25
|
standard-custom: config/base.yml
|
32
26
|
rubocop-performance: config/default.yml
|
27
|
+
|
28
|
+
inherit_from:
|
29
|
+
- ./base.yml
|
30
|
+
- ./internal/ruby-3.3.yml
|
31
|
+
- ./internal/bin-bundle.yml
|
data/config/ruby-3.4.yml
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# We want the Exclude and Include directives from different
|
2
|
+
# config files to get merged, not overwritten
|
3
|
+
inherit_mode:
|
4
|
+
merge:
|
5
|
+
- Exclude
|
6
|
+
- Include
|
7
|
+
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
12
|
+
|
13
|
+
require:
|
14
|
+
- standard-rubocop-lts
|
15
|
+
- standard
|
16
|
+
|
17
|
+
# Rules are overridden in a LIFO stack.
|
18
|
+
# If rubocop-performance is listed first, and standard-performance after it,
|
19
|
+
# then rubocop-performance's rules will take precedence.
|
20
|
+
# This is the opposite of what you might expect.
|
21
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
22
|
+
inherit_gem:
|
23
|
+
standard: config/ruby-3.4.yml
|
24
|
+
standard-performance: config/base.yml
|
25
|
+
standard-custom: config/base.yml
|
26
|
+
rubocop-performance: config/default.yml
|
27
|
+
|
28
|
+
inherit_from:
|
29
|
+
- ./base.yml
|
30
|
+
- ./internal/ruby-3.4.yml
|
31
|
+
- ./internal/bin-bundle.yml
|
data/config/ruby-3.5.yml
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
# We want the Exclude and Include directives from different
|
2
|
+
# config files to get merged, not overwritten
|
3
|
+
inherit_mode:
|
4
|
+
merge:
|
5
|
+
- Exclude
|
6
|
+
- Include
|
7
|
+
|
8
|
+
plugins:
|
9
|
+
- rubocop-performance
|
10
|
+
- standard-performance
|
11
|
+
- standard-custom
|
12
|
+
|
13
|
+
require:
|
14
|
+
- standard-rubocop-lts
|
15
|
+
- standard
|
16
|
+
|
17
|
+
# Rules are overridden in a LIFO stack.
|
18
|
+
# If rubocop-performance is listed first, and standard-performance after it,
|
19
|
+
# then rubocop-performance's rules will take precedence.
|
20
|
+
# This is the opposite of what you might expect.
|
21
|
+
# Below: standard's rules override rubocop-performance's (mostly disabling rules)
|
22
|
+
inherit_gem:
|
23
|
+
# TODO: Switch to config/ruby-3.5.yml once standard adds it
|
24
|
+
standard: config/base.yml
|
25
|
+
standard-performance: config/base.yml
|
26
|
+
standard-custom: config/base.yml
|
27
|
+
rubocop-performance: config/default.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- ./base.yml
|
31
|
+
- ./internal/ruby-3.5.yml
|
32
|
+
- ./internal/bin-bundle.yml
|
data.tar.gz.sig
CHANGED
Binary file
|