.rubocop.yml in spandx-0.1.1 vs .rubocop.yml in spandx-0.1.2

- old
+ new

@@ -1,94 +1,58 @@ require: - rubocop-rspec AllCops: Exclude: - - 'coverage/**/*' - 'pkg/**/*' - 'spec/fixtures/**/*' - - 'tmp/**/*' - - 'vendor/**/*' TargetRubyVersion: 2.6 -Layout/AlignArguments: +Layout/ArgumentAlignment: EnforcedStyle: with_fixed_indentation -Layout/AlignParameters: +Layout/ParameterAlignment: Enabled: true EnforcedStyle: with_fixed_indentation IndentationWidth: 2 -Layout/ClassStructure: - Enabled: true - Categories: - module_inclusion: - - include - - prepend - - extend - ExpectedOrder: - - module_inclusion - - constants - - public_class_methods - - initializer - - instance_methods - - protected_methods - - private_methods - Layout/EndOfLine: EnforcedStyle: lf -Layout/IndentFirstArrayElement: +Layout/FirstArrayElementIndentation: EnforcedStyle: consistent -Layout/IndentHeredoc: - EnforcedStyle: active_support - Layout/MultilineMethodCallIndentation: Enabled: true EnforcedStyle: indented Lint/AmbiguousBlockAssociation: Exclude: - 'spec/**/*.rb' -Lint/InterpolationCheck: - Exclude: - - 'spec/**/*.rb' - Metrics/BlockLength: Exclude: - - '**/**/*.builder' - - '**/*.rake' - '*.gemspec' - 'Rakefile' - 'spec/**/*.rb' Metrics/ModuleLength: Exclude: - 'spec/**/*.rb' Metrics/LineLength: Exclude: - - 'lib/saml/kit/builders/templates/*.builder' - 'spec/**/*.rb' IgnoredPatterns: - '^#*' -Naming/FileName: - Exclude: - - 'lib/saml-kit.rb' - Naming/RescuedExceptionsVariableName: PreferredName: error Style/Documentation: Enabled: false -Style/EachWithObject: - Enabled: false - Style/StringLiterals: EnforcedStyle: 'single_quotes' Style/TrailingCommaInArrayLiteral: Enabled: false @@ -97,16 +61,14 @@ Enabled: false RSpec/ExampleLength: Max: 80 -RSpec/MultipleExpectations: - Enabled: false - RSpec/NamedSubject: Enabled: false -RSpec/NestedGroups: - Max: 7 - -RSpec/SubjectStub: +RSpec/FilePath: Enabled: false + +RSpec/DescribeClass: + Exclude: + - 'spec/integration/**/*'