-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate Rubocop todos configuration [skip ci]
- Loading branch information
1 parent
646f926
commit 4dc95fd
Showing
2 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
inherit_from: .rubocop_todo.yml | ||
|
||
require: | ||
- solidus_dev_support/rubocop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |