diff --git a/Gemfile.lock b/Gemfile.lock index bf4f1d39..8ffac649 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -4,9 +4,9 @@ PATH standard (1.42.1) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) - rubocop (~> 1.68.0) + rubocop (~> 1.69.1) standard-custom (~> 1.0.0) - standard-performance (~> 1.5) + standard-performance (~> 1.6) GEM remote: https://rubygems.org/ @@ -33,20 +33,20 @@ GEM rake (13.0.6) rbs (3.5.2) logger - regexp_parser (2.8.2) - rubocop (1.68.0) + regexp_parser (2.9.3) + rubocop (1.69.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 2.4, < 3.0) - rubocop-ast (>= 1.32.2, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.36.2, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.32.3) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.36.2) parser (>= 3.3.1.0) - rubocop-performance (1.22.1) + rubocop-performance (1.23.0) rubocop (>= 1.48.1, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) ruby-lsp (0.17.7) @@ -65,9 +65,9 @@ GEM standard-custom (1.0.2) lint_roller (~> 1.0) rubocop (~> 1.50) - standard-performance (1.5.0) + standard-performance (1.6.0) lint_roller (~> 1.1) - rubocop-performance (~> 1.22.0) + rubocop-performance (~> 1.23.0) unicode-display_width (2.5.0) PLATFORMS diff --git a/config/base.yml b/config/base.yml index 21834975..ee5e50b5 100644 --- a/config/base.yml +++ b/config/base.yml @@ -570,6 +570,9 @@ Lint/FormatParameterMismatch: Lint/HashCompareByIdentity: Enabled: false +Lint/HashNewWithKeywordArgumentsAsDefault: + Enabled: true + Lint/HeredocMethodCallPosition: Enabled: false @@ -653,6 +656,9 @@ Lint/NumberConversion: Lint/NumberedParameterAssignment: Enabled: true +Lint/NumericOperationWithConstantResult: + Enabled: false + Lint/OrAssignmentToConstant: Enabled: true @@ -837,6 +843,9 @@ Lint/UselessAccessModifier: Lint/UselessAssignment: Enabled: true +Lint/UselessDefined: + Enabled: true + Lint/UselessElseWithoutRescue: Enabled: false @@ -1119,6 +1128,9 @@ Style/DateTime: Style/DefWithParentheses: Enabled: true +Style/DigChain: + Enabled: true + Style/Dir: Enabled: true @@ -1208,9 +1220,15 @@ Style/FetchEnvVar: Style/FileEmpty: Enabled: false +Style/FileNull: + Enabled: true + Style/FileRead: Enabled: true +Style/FileTouch: + Enabled: false + Style/FileWrite: Enabled: true diff --git a/config/ruby-1.9.yml b/config/ruby-1.9.yml index af3f3b7b..3869291a 100644 --- a/config/ruby-1.9.yml +++ b/config/ruby-1.9.yml @@ -9,3 +9,6 @@ Style/HashConversion: # Percent delimiters are not supported until Ruby 2.0 Style/PercentLiteralDelimiters: Enabled: false + +Style/FileNull: + Enabled: false diff --git a/standard.gemspec b/standard.gemspec index c7fc5388..66aec1d2 100644 --- a/standard.gemspec +++ b/standard.gemspec @@ -21,11 +21,11 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.metadata["rubygems_mfa_required"] = "true" - spec.add_dependency "rubocop", "~> 1.68.0" + spec.add_dependency "rubocop", "~> 1.69.1" spec.add_dependency "lint_roller", "~> 1.0" spec.add_dependency "standard-custom", "~> 1.0.0" - spec.add_dependency "standard-performance", "~> 1.5" + spec.add_dependency "standard-performance", "~> 1.6" # not semver: first three are lsp protocol version, last is patch spec.add_dependency "language_server-protocol", "~> 3.17.0.2"