Skip to content

Commit

Permalink
Merge pull request #5143 from solidusio/elia/rubocop-missing-super
Browse files Browse the repository at this point in the history
Confirm MissingSuper rubocop exceptions
  • Loading branch information
elia committed Jun 12, 2023
2 parents 0af0017 + d729957 commit 78d20c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -334,3 +334,8 @@ Naming/MemoizedInstanceVariableName:

Lint/SuppressedException:
Enabled: false

Lint/MissingSuper:
Exclude:
- 'core/lib/spree/deprecation.rb' # this is a known class that doesn't require super
- 'core/lib/spree/preferences/configuration.rb' # this class has no superclass defining `self.inherited`
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,6 @@ Lint/EmptyConditionalBody:
Exclude:
- 'core/lib/spree/preferences/statically_configurable.rb'

# Offense count: 2
Lint/MissingSuper:
Exclude:
- 'core/lib/spree/deprecation.rb'
- 'core/lib/spree/preferences/configuration.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Lint/ParenthesesAsGroupedExpression:
Expand Down

0 comments on commit 78d20c4

Please sign in to comment.