Skip to content

Commit

Permalink
Merge pull request #9104 from jibees/get-rid-of-rubocop-MissingSuper-…
Browse files Browse the repository at this point in the history
…warning-on-ViewComponent-class

Exclude ViewComponents from Rubocop MissingSuper rule
  • Loading branch information
mkllnk committed Apr 19, 2022
2 parents 4dde49c + b60eeb8 commit 268a73a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .rubocop_styleguide.yml
Expand Up @@ -105,6 +105,10 @@ Lint/UselessAssignment:
Exclude:
- spec/**/*

Lint/MissingSuper:
Exclude:
- 'app/components/**/*'

Metrics/AbcSize:
Max: 30 # default 17

Expand Down
5 changes: 0 additions & 5 deletions .rubocop_todo.yml
Expand Up @@ -366,11 +366,6 @@ Lint/IneffectiveAccessModifier:
Exclude:
- 'app/models/spree/user.rb'

# Offense count: 2
Lint/MissingSuper:
Exclude:
- 'app/components/distributor_title_component.rb'
- 'app/components/example_component.rb'

# Offense count: 1
# Cop supports --auto-correct.
Expand Down

0 comments on commit 268a73a

Please sign in to comment.