summaryrefslogtreecommitdiff
path: root/.rubocop.yml
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-12-31 11:51:58 -0700
committermo khan <mo@mokhan.ca>2024-12-31 14:40:07 -0700
commit78c6a086164aa83ce2e4e57daadfbdb53a31a37f (patch)
tree2718cbb345bb3c8257ccbaf9e1b8e7913699a3a5 /.rubocop.yml
parent80d59246ec0752128548d6c61a2d44ec498771d7 (diff)
feat: Add support for Ruby 3.2+HEADv0.19.0main
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml47
1 files changed, 43 insertions, 4 deletions
diff --git a/.rubocop.yml b/.rubocop.yml
index 79f84fe..112e8da 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -7,7 +7,8 @@ AllCops:
- 'spec/fixtures/**/*'
- 'vendor/bundle/**/*'
- 'vendor/ruby/**/*'
- TargetRubyVersion: 2.6
+ SuggestExtensions: false
+ TargetRubyVersion: 3.2
Layout/ArgumentAlignment:
EnforcedStyle: with_fixed_indentation
@@ -62,6 +63,9 @@ Naming/RescuedExceptionsVariableName:
Style/Documentation:
Enabled: false
+Style/ExplicitBlockArgument:
+ Enabled: false
+
Style/HashEachMethods:
Enabled: true
@@ -71,6 +75,16 @@ Style/HashTransformKeys:
Style/HashTransformValues:
Enabled: true
+Style/HashSyntax:
+ Exclude:
+ - 'lib/**/spandx/**/**'
+
+Style/RedundantFreeze:
+ Enabled: false
+
+Style/StringConcatenation:
+ Enabled: false
+
Style/StringLiterals:
EnforcedStyle: 'single_quotes'
@@ -83,15 +97,40 @@ Style/TrailingCommaInArrayLiteral:
Style/TrailingCommaInHashLiteral:
Enabled: false
+RSpec/DescribeClass:
+ Exclude:
+ - 'spec/integration/**/*'
+
RSpec/ExampleLength:
Max: 80
+RSpec/IdenticalEqualityAssertion:
+ Exclude:
+ - 'spec/unit/core/dependency_spec.rb'
+
RSpec/NamedSubject:
Enabled: false
-RSpec/FilePath:
+RSpec/MatchArray:
Enabled: false
-RSpec/DescribeClass:
+RSpec/PendingWithoutReason:
+ Enabled: false
+
+RSpec/RedundantPredicateMatcher:
Exclude:
- - 'spec/integration/**/*'
+ - 'spec/unit/dotnet/parsers/csproj_spec.rb'
+ - 'spec/unit/dotnet/parsers/packages_config_spec.rb'
+ - 'spec/unit/dotnet/parsers/sln_spec.rb'
+ - 'spec/unit/java/parsers/maven_spec.rb'
+ - 'spec/unit/js/parsers/npm_spec.rb'
+ - 'spec/unit/js/parsers/yarn_spec.rb'
+ - 'spec/unit/os/parsers/apk_spec.rb'
+ - 'spec/unit/os/parsers/dpkg_spec.rb'
+ - 'spec/unit/php/parsers/composer_spec.rb'
+ - 'spec/unit/python/parsers/pipfile_lock_spec.rb'
+ - 'spec/unit/ruby/parsers/gemfile_lock_spec.rb'
+ - 'spec/unit/terraform/parsers/lock_file_spec.rb'
+
+RSpec/SpecFilePathFormat:
+ Enabled: false