standard 1.42.1 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/Gemfile.lock +12 -12
- data/README.md +1 -0
- data/config/base.yml +18 -0
- data/config/ruby-1.9.yml +3 -0
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +2 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a63a20b7b80727310a27e1943a539b1981d88c2da2bf67ae4707488809069553
|
4
|
+
data.tar.gz: 8a4c8281e35dc0359c9400238c581a8c00f836528b852067d7293146153d7f99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b5cac5e093cfbafceb8dce7d1f95163aa3cf76543a648715af26f15d084ea6d9a3c23fa7b221e4acd4f194cd87aed986b980573d591ffea291c3c0b77eef891
|
7
|
+
data.tar.gz: f0e69c6094538f45b2d79a7cbd5dab8d88ac5ab0202ce6a01b04e3997e8de33478ed46e75d1c694ff4c6359828a4ddbbc1dc5abf211a9378d970294b923a163e
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard (1.
|
4
|
+
standard (1.43.0)
|
5
5
|
language_server-protocol (~> 3.17.0.2)
|
6
6
|
lint_roller (~> 1.0)
|
7
|
-
rubocop (~> 1.
|
7
|
+
rubocop (~> 1.69.1)
|
8
8
|
standard-custom (~> 1.0.0)
|
9
|
-
standard-performance (~> 1.
|
9
|
+
standard-performance (~> 1.6)
|
10
10
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
@@ -33,20 +33,20 @@ GEM
|
|
33
33
|
rake (13.0.6)
|
34
34
|
rbs (3.5.2)
|
35
35
|
logger
|
36
|
-
regexp_parser (2.
|
37
|
-
rubocop (1.
|
36
|
+
regexp_parser (2.9.3)
|
37
|
+
rubocop (1.69.1)
|
38
38
|
json (~> 2.3)
|
39
39
|
language_server-protocol (>= 3.17.0)
|
40
40
|
parallel (~> 1.10)
|
41
41
|
parser (>= 3.3.0.2)
|
42
42
|
rainbow (>= 2.2.2, < 4.0)
|
43
|
-
regexp_parser (>= 2.
|
44
|
-
rubocop-ast (>= 1.
|
43
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
44
|
+
rubocop-ast (>= 1.36.2, < 2.0)
|
45
45
|
ruby-progressbar (~> 1.7)
|
46
|
-
unicode-display_width (>= 2.4.0, <
|
47
|
-
rubocop-ast (1.
|
46
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
47
|
+
rubocop-ast (1.36.2)
|
48
48
|
parser (>= 3.3.1.0)
|
49
|
-
rubocop-performance (1.
|
49
|
+
rubocop-performance (1.23.0)
|
50
50
|
rubocop (>= 1.48.1, < 2.0)
|
51
51
|
rubocop-ast (>= 1.31.1, < 2.0)
|
52
52
|
ruby-lsp (0.17.7)
|
@@ -65,9 +65,9 @@ GEM
|
|
65
65
|
standard-custom (1.0.2)
|
66
66
|
lint_roller (~> 1.0)
|
67
67
|
rubocop (~> 1.50)
|
68
|
-
standard-performance (1.
|
68
|
+
standard-performance (1.6.0)
|
69
69
|
lint_roller (~> 1.1)
|
70
|
-
rubocop-performance (~> 1.
|
70
|
+
rubocop-performance (~> 1.23.0)
|
71
71
|
unicode-display_width (2.5.0)
|
72
72
|
|
73
73
|
PLATFORMS
|
data/README.md
CHANGED
@@ -160,6 +160,7 @@ We've added a number of editing guides for getting started:
|
|
160
160
|
- [emacs](https://www.flycheck.org/en/latest/languages.html#syntax-checker-ruby-standard)
|
161
161
|
- [Helix](https://github.com/helix-editor/helix/wiki/External-formatter-configuration#standardrb)
|
162
162
|
- [Atom](https://github.com/standardrb/standard/wiki/IDE:-Atom)
|
163
|
+
- [Nova](https://codeberg.org/edwardloveall/nova-standard)
|
163
164
|
|
164
165
|
If you'd like to help by creating a guide, please draft one [in an
|
165
166
|
issue](https://github.com/standardrb/standard/issues/new) and we'll get it
|
data/config/base.yml
CHANGED
@@ -570,6 +570,9 @@ Lint/FormatParameterMismatch:
|
|
570
570
|
Lint/HashCompareByIdentity:
|
571
571
|
Enabled: false
|
572
572
|
|
573
|
+
Lint/HashNewWithKeywordArgumentsAsDefault:
|
574
|
+
Enabled: true
|
575
|
+
|
573
576
|
Lint/HeredocMethodCallPosition:
|
574
577
|
Enabled: false
|
575
578
|
|
@@ -653,6 +656,9 @@ Lint/NumberConversion:
|
|
653
656
|
Lint/NumberedParameterAssignment:
|
654
657
|
Enabled: true
|
655
658
|
|
659
|
+
Lint/NumericOperationWithConstantResult:
|
660
|
+
Enabled: false
|
661
|
+
|
656
662
|
Lint/OrAssignmentToConstant:
|
657
663
|
Enabled: true
|
658
664
|
|
@@ -837,6 +843,9 @@ Lint/UselessAccessModifier:
|
|
837
843
|
Lint/UselessAssignment:
|
838
844
|
Enabled: true
|
839
845
|
|
846
|
+
Lint/UselessDefined:
|
847
|
+
Enabled: true
|
848
|
+
|
840
849
|
Lint/UselessElseWithoutRescue:
|
841
850
|
Enabled: false
|
842
851
|
|
@@ -1119,6 +1128,9 @@ Style/DateTime:
|
|
1119
1128
|
Style/DefWithParentheses:
|
1120
1129
|
Enabled: true
|
1121
1130
|
|
1131
|
+
Style/DigChain:
|
1132
|
+
Enabled: true
|
1133
|
+
|
1122
1134
|
Style/Dir:
|
1123
1135
|
Enabled: true
|
1124
1136
|
|
@@ -1208,9 +1220,15 @@ Style/FetchEnvVar:
|
|
1208
1220
|
Style/FileEmpty:
|
1209
1221
|
Enabled: false
|
1210
1222
|
|
1223
|
+
Style/FileNull:
|
1224
|
+
Enabled: true
|
1225
|
+
|
1211
1226
|
Style/FileRead:
|
1212
1227
|
Enabled: true
|
1213
1228
|
|
1229
|
+
Style/FileTouch:
|
1230
|
+
Enabled: false
|
1231
|
+
|
1214
1232
|
Style/FileWrite:
|
1215
1233
|
Enabled: true
|
1216
1234
|
|
data/config/ruby-1.9.yml
CHANGED
data/lib/standard/version.rb
CHANGED
data/standard.gemspec
CHANGED
@@ -21,11 +21,11 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
spec.metadata["rubygems_mfa_required"] = "true"
|
23
23
|
|
24
|
-
spec.add_dependency "rubocop", "~> 1.
|
24
|
+
spec.add_dependency "rubocop", "~> 1.69.1"
|
25
25
|
|
26
26
|
spec.add_dependency "lint_roller", "~> 1.0"
|
27
27
|
spec.add_dependency "standard-custom", "~> 1.0.0"
|
28
|
-
spec.add_dependency "standard-performance", "~> 1.
|
28
|
+
spec.add_dependency "standard-performance", "~> 1.6"
|
29
29
|
|
30
30
|
# not semver: first three are lsp protocol version, last is patch
|
31
31
|
spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: standard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.69.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.69.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: lint_roller
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
61
|
+
version: '1.6'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1.
|
68
|
+
version: '1.6'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: language_server-protocol
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
189
|
- !ruby/object:Gem::Version
|
190
190
|
version: '0'
|
191
191
|
requirements: []
|
192
|
-
rubygems_version: 3.
|
192
|
+
rubygems_version: 3.4.10
|
193
193
|
signing_key:
|
194
194
|
specification_version: 4
|
195
195
|
summary: Ruby Style Guide, with linter & automatic code fixer
|