.rubocop.yml in lite-validators-1.7.2 vs .rubocop.yml in lite-validators-1.8.0

- old
+ new

@@ -1,16 +1,13 @@ require: - rubocop-performance - rubocop-rake - rubocop-rspec AllCops: - TargetRubyVersion: 3.0 NewCops: enable DisplayCopNames: true DisplayStyleGuide: true -Gemspec/RequireMFA: - Enabled: false Gemspec/RequiredRubyVersion: Enabled: false Layout/EmptyLinesAroundAttributeAccessor: Enabled: true Layout/EmptyLinesAroundBlockBody: @@ -19,35 +16,49 @@ Layout/EmptyLinesAroundClassBody: EnforcedStyle: empty_lines_except_namespace Layout/EmptyLinesAroundModuleBody: EnforcedStyle: empty_lines_except_namespace Layout/LineLength: - Max: 100 + Enabled: false Layout/SpaceAroundMethodCallOperator: Enabled: true Lint/ConstantDefinitionInBlock: Enabled: false Lint/EmptyClass: Enabled: false Lint/RaiseException: Enabled: true Lint/StructNewOverride: Enabled: true +Metrics/AbcSize: + Enabled: false Metrics/BlockLength: Exclude: - 'spec/**/**/*' - '*.gemspec' Metrics/ClassLength: Exclude: - 'lib/lite/validators/credit_card_validator.rb' +Metrics/CyclomaticComplexity: + Enabled: false +Metrics/MethodLength: + Enabled: false +Metrics/PerceivedComplexity: + Enabled: false RSpec/ExampleLength: Enabled: false +RSpec/NoExpectationExample: + Enabled: false RSpec/LeakyConstantDeclaration: Enabled: false RSpec/MultipleExpectations: Enabled: false Style/ArgumentsForwarding: Enabled: false Style/Documentation: Enabled: false Style/ExpandPathArguments: Enabled: false +Style/HashSyntax: + EnforcedShorthandSyntax: never +Style/StringLiterals: + EnforcedStyle: double_quotes