Skip to content

Commit

Permalink
Merge pull request #576 from standardrb/updates-2023-08-16
Browse files Browse the repository at this point in the history
Updates rubocop and standard-performance
  • Loading branch information
camilopayan authored Aug 19, 2023
2 parents fee7b6b + ca04173 commit adedb18
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 15 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## Unreleased

* Updates standard-performance to [v1.2.0](https://github.com/standardrb/standard-performance/releases/tag/v1.2.0)
* Updates rubocop to [1.56.0](https://github.com/rubocop/rubocop/releases/tag/v1.56.0)

## 1.30.1

* Just kidding about about `Standard::PluginSupport`. Moving it to `LintRoller::Support`
Expand Down
28 changes: 16 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,25 @@ PATH
standard (1.30.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.52.0)
rubocop (~> 1.56.0)
standard-custom (~> 1.0.0)
standard-performance (~> 1.1.0)
standard-performance (~> 1.2)

GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
base64 (0.1.1)
docile (1.4.0)
gimme (0.5.0)
json (2.6.3)
language_server-protocol (3.17.0.3)
lint_roller (1.0.0)
lint_roller (1.1.0)
m (1.6.1)
method_source (>= 0.6.7)
rake (>= 0.9.2.2)
method_source (1.0.0)
minitest (5.18.0)
minitest (5.19.0)
parallel (1.23.0)
parser (3.2.2.3)
ast (~> 2.4.1)
Expand All @@ -30,20 +31,22 @@ GEM
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.8.1)
rexml (3.2.5)
rubocop (1.52.1)
rexml (3.2.6)
rubocop (1.56.0)
base64 (~> 0.1.1)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.3)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.0, < 2.0)
rubocop-ast (>= 1.28.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
rubocop-performance (1.18.0)
rubocop-performance (1.19.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
ruby-progressbar (1.13.0)
Expand All @@ -53,11 +56,12 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
standard-custom (1.0.1)
standard-custom (1.0.2)
lint_roller (~> 1.0)
standard-performance (1.1.0)
lint_roller (~> 1.0)
rubocop-performance (~> 1.18.0)
rubocop (~> 1.50)
standard-performance (1.2.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.19.0)
unicode-display_width (2.4.2)

PLATFORMS
Expand Down
22 changes: 21 additions & 1 deletion config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Bundler/DuplicatedGem:
- '**/Gemfile'
- '**/gems.rb'

Bundler/DuplicatedGroup:
Enabled: false

Bundler/GemComment:
Enabled: false

Expand Down Expand Up @@ -602,6 +605,9 @@ Lint/MissingCopEnableDirective:
Lint/MissingSuper:
Enabled: false

Lint/MixedCaseRange:
Enabled: true

Lint/MixedRegexpCaptureTypes:
Enabled: true

Expand Down Expand Up @@ -668,6 +674,9 @@ Lint/RedundantCopEnableDirective:
Lint/RedundantDirGlobSort:
Enabled: false

Lint/RedundantRegexpQuantifiers:
Enabled: true

Lint/RedundantRequireStatement:
Enabled: true

Expand Down Expand Up @@ -964,7 +973,6 @@ Style/AndOr:

Style/ArgumentsForwarding:
Enabled: true
AllowOnlyRestArgument: true

Style/ArrayCoercion:
Enabled: false
Expand Down Expand Up @@ -1521,6 +1529,9 @@ Style/RedundantConditional:
Style/RedundantConstantBase:
Enabled: false

Style/RedundantCurrentDirectoryInPath:
Enabled: true

Style/RedundantDoubleSplatHashBraces:
Enabled: true

Expand Down Expand Up @@ -1560,6 +1571,9 @@ Style/RedundantParentheses:
Style/RedundantPercentQ:
Enabled: true

Style/RedundantRegexpArgument:
Enabled: true

Style/RedundantRegexpCharacterClass:
Enabled: true

Expand Down Expand Up @@ -1607,6 +1621,9 @@ Style/RescueStandardError:
Style/ReturnNil:
Enabled: false

Style/ReturnNilInPredicateMethodDefinition:
Enabled: false

Style/SafeNavigation:
Enabled: true
ConvertCodeThatCanStartToReturnNil: false
Expand Down Expand Up @@ -1791,6 +1808,9 @@ Style/WhileUntilModifier:
Style/WordArray:
Enabled: false

Style/YAMLFileRead:
Enabled: true

Style/YodaCondition:
Enabled: true
EnforcedStyle: forbid_for_all_comparison_operators
Expand Down
4 changes: 4 additions & 0 deletions config/ruby-3.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ AllCops:

Style/DataInheritance:
Enabled: false

Style/ArgumentsForwarding:
Enabled: true
AllowOnlyRestArgument: true
4 changes: 2 additions & 2 deletions standard.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]
spec.metadata["rubygems_mfa_required"] = "true"

spec.add_dependency "rubocop", "~> 1.52.0"
spec.add_dependency "rubocop", "~> 1.56.0"

spec.add_dependency "lint_roller", "~> 1.0"
spec.add_dependency "standard-custom", "~> 1.0.0"
spec.add_dependency "standard-performance", "~> 1.1.0"
spec.add_dependency "standard-performance", "~> 1.2"

# not semver: first three are lsp protocol version, last is patch
spec.add_dependency "language_server-protocol", "~> 3.17.0.2"
Expand Down

0 comments on commit adedb18

Please sign in to comment.