Skip to content

Commit

Permalink
Generate Rubocop todos configuration [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
aldesantis committed Jul 24, 2020
1 parent 646f926 commit 4dc95fd
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
inherit_from: .rubocop_todo.yml

require:
- solidus_dev_support/rubocop
71 changes: 71 additions & 0 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2020-07-24 11:17:48 +0200 using RuboCop version 0.76.0.
# 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: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
# SupportedStylesAlignWith: keyword, variable, start_of_line
Layout/EndAlignment:
Exclude:
- 'app/decorators/models/solidus_easypost/spree/address_decorator.rb'

# Offense count: 1
# Cop supports --auto-correct.
Lint/RedundantCopDisableDirective:
Exclude:
- 'lib/generators/solidus_easypost/install/install_generator.rb'

# Offense count: 1
# Cop supports --auto-correct.
RSpec/EmptyLineAfterFinalLet:
Exclude:
- 'spec/models/solidus_easypost/return_authorization_spec.rb'

# Offense count: 3
# Configuration parameters: .
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
EnforcedStyle: receive

# Offense count: 1
RSpec/MultipleExpectations:
Max: 3

# Offense count: 22
# Configuration parameters: IgnoreSharedExamples.
RSpec/NamedSubject:
Exclude:
- 'spec/models/solidus_easypost/return_authorization_spec.rb'
- 'spec/models/spree/address_spec.rb'
- 'spec/models/spree/shipment_spec.rb'
- 'spec/models/spree/shipping_rate_spec.rb'
- 'spec/models/spree/stock/estimator_spec.rb'
- 'spec/models/spree/stock/package_spec.rb'
- 'spec/models/spree/stock_location_spec.rb'

# Offense count: 4
RSpec/NestedGroups:
Max: 5

# Offense count: 2
RSpec/ScatteredSetup:
Exclude:
- 'spec/models/solidus_easypost/return_authorization_spec.rb'

# Offense count: 1
# Configuration parameters: IgnoreNameless, IgnoreSymbolicNames.
RSpec/VerifiedDoubles:
Exclude:
- 'spec/models/spree/stock/estimator_spec.rb'

# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
# URISchemes: http, https
Metrics/LineLength:
Max: 137

0 comments on commit 4dc95fd

Please sign in to comment.