Skip to content

Commit

Permalink
Update rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
pyromaniac committed Aug 31, 2017
1 parent 11e5124 commit a5aa5b7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 28 deletions.
50 changes: 25 additions & 25 deletions .rubocop.yml
@@ -1,50 +1,50 @@
inherit_from: .rubocop_todo.yml

Lint/AmbiguousBlockAssociation:
Enabled: false

Lint/EndAlignment:
EnforcedStyleAlignWith: variable

Style/AccessModifierIndentation:
Layout/AccessModifierIndentation:
EnforcedStyle: outdent

Style/Alias:
EnforcedStyle: prefer_alias_method

Style/AlignHash:
Layout/AlignHash:
EnforcedLastArgumentHashStyle: always_ignore

Style/AlignParameters:
Layout/AlignParameters:
EnforcedStyle: with_fixed_indentation

Style/AndOr:
EnforcedStyle: conditionals

Style/CaseIndentation:
Layout/CaseIndentation:
EnforcedStyle: end

Style/DoubleNegation:
Enabled: false

Style/IndentArray:
Layout/IndentArray:
EnforcedStyle: consistent

Style/IndentHash:
Layout/IndentHash:
EnforcedStyle: consistent

Style/IndentHeredoc:
Layout/IndentHeredoc:
Enabled: false

Style/MultilineMethodCallIndentation:
Layout/MultilineMethodCallIndentation:
EnforcedStyle: indented

Style/MultilineOperationIndentation:
Layout/MultilineOperationIndentation:
EnforcedStyle: indented

Style/SpaceInsideHashLiteralBraces:
Layout/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space

Lint/AmbiguousBlockAssociation:
Enabled: false

Lint/EndAlignment:
EnforcedStyleAlignWith: variable

Style/Alias:
EnforcedStyle: prefer_alias_method

Style/AndOr:
EnforcedStyle: conditionals

Style/DoubleNegation:
Enabled: false

Metrics/BlockLength:
Exclude:
- '**/*_spec.rb'
Expand Down
2 changes: 0 additions & 2 deletions Appraisals
@@ -1,5 +1,3 @@
# rubocop:disable Style/FileName

%w[4.0 4.1 4.2].each do |activesupport|
appraise "rails.#{activesupport}.activerecord" do
gem 'activerecord', "~> #{activesupport}.0"
Expand Down
2 changes: 1 addition & 1 deletion chewy.gemspec
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |spec| # rubocop:disable BlockLength
spec.add_development_dependency 'elasticsearch-extensions'
spec.add_development_dependency 'resque_spec'
spec.add_development_dependency 'timecop'
spec.add_development_dependency 'rubocop', '0.48.1'
spec.add_development_dependency 'rubocop', '0.49.1'

spec.add_development_dependency 'method_source'
spec.add_development_dependency 'unparser'
Expand Down

0 comments on commit a5aa5b7

Please sign in to comment.