diff --git a/.rubocop.yml b/.rubocop.yml index 83745bcb..67a4a804 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -9,7 +9,7 @@ AllCops: DisplayCopNames: true ExtraDetails: true DisplayStyleGuide: true - TargetRubyVersion: '2.7' + TargetRubyVersion: '2.6' Include: - "**/*.rb" Exclude: diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 478e5f8d..4b05ede8 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,3 +1,11 @@ +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2023-04-25 08:02:06 UTC using RuboCop version 1.48.1. +# The point is for the user to remove these configuration records +# one by one as the offenses are removed from the code base. +# Note that changes in the inspected code, or installation of new +# versions of RuboCop, may require this file to be generated again. + # Offense count: 30 # This cop supports unsafe autocorrection (--autocorrect-all). Lint/BooleanSymbol: @@ -15,7 +23,7 @@ Metrics/AbcSize: # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. # AllowedMethods: refine Metrics/BlockLength: - Max: 128 + Max: 122 # Offense count: 3 # Configuration parameters: AllowedMethods, AllowedPatterns. @@ -25,7 +33,7 @@ Metrics/CyclomaticComplexity: # Offense count: 13 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: - Max: 33 + Max: 31 # Offense count: 2 # Configuration parameters: AllowedMethods, AllowedPatterns. @@ -76,12 +84,11 @@ RSpec/ExampleLength: RSpec/MultipleExpectations: Max: 4 -# Offense count: 7 +# Offense count: 6 # Configuration parameters: EnforcedStyle, IgnoreSharedExamples. # SupportedStyles: always, named_only RSpec/NamedSubject: Exclude: - - 'spec/acceptance/ini_subsetting_spec.rb' - 'spec/classes/create_ini_settings_test_spec.rb' - 'spec/classes/create_multiple_ini_settings_spec.rb' - 'spec/classes/inherit_test1_spec.rb'