.rubocop.yml in granite-form-0.5.0 vs .rubocop.yml in granite-form-0.6.0

- old
+ new

@@ -1,64 +1,42 @@ inherit_from: .rubocop_todo.yml +require: + - rubocop-rspec + AllCops: + Include: + - '**/*.rb' + - '**/Gemfile' + - '**/Rakefile' + Exclude: + - 'vendor/bundle/**/*' + - 'log/**/*' + - 'spec/fixtures/**/*' + - 'lib/granite/form/model/dirty.rb' DisplayCopNames: true - TargetRubyVersion: 2.4.0 + TargetRubyVersion: 2.6 + NewCops: enable -Lint/AmbiguousBlockAssociation: +RSpec/MultipleExpectations: Enabled: false -Lint/EndAlignment: - EnforcedStyleAlignWith: variable +RSpec/NestedGroups: + Enabled: false -Layout/AccessModifierIndentation: - EnforcedStyle: outdent +RSpec/MessageSpies: + Enabled: false -Layout/AlignHash: - EnforcedLastArgumentHashStyle: always_ignore +Gemspec/DevelopmentDependencies: + Enabled: false -Layout/AlignParameters: - EnforcedStyle: with_fixed_indentation +Style/FrozenStringLiteralComment: + Enabled: false -Layout/CaseIndentation: - EnforcedStyle: end - -Layout/IndentArray: - EnforcedStyle: consistent - -Layout/IndentHash: - EnforcedStyle: consistent - -Layout/IndentHeredoc: +RSpec/DescribedClass: Enabled: false -Layout/MultilineMethodCallIndentation: - EnforcedStyle: indented - -Layout/MultilineOperationIndentation: - EnforcedStyle: indented - -Layout/SpaceInsideHashLiteralBraces: - EnforcedStyle: no_space - -Metrics/BlockLength: - Exclude: - - '**/*_spec.rb' - - '**/*_examples.rb' - - '**/*.rake' - -Metrics/ModuleLength: - Exclude: - - '**/*_spec.rb' - - 'lib/granite/form.rb' - -Style/Alias: - EnforcedStyle: prefer_alias_method - -Style/AndOr: - EnforcedStyle: conditionals - -Style/DoubleNegation: +Style/OptionalBooleanParameter: Enabled: false -Style/FrozenStringLiteralComment: +Style/MissingRespondToMissing: Enabled: false