Merge pull request #9104 from jibees/get-rid-of-rubocop-MissingSuper-warning-on-ViewComponent-class

Exclude ViewComponents from Rubocop MissingSuper rule
This commit is contained in:
Maikel
2022-04-19 10:41:08 +10:00
committed by GitHub
2 changed files with 4 additions and 5 deletions

View File

@@ -105,6 +105,10 @@ Lint/UselessAssignment:
Exclude:
- spec/**/*
Lint/MissingSuper:
Exclude:
- 'app/components/**/*'
Metrics/AbcSize:
Max: 30 # default 17

View File

@@ -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.