Skip to content

Commit

Permalink
Enable Style/SafeNavigationChainLength and ignore existing violation
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed Nov 6, 2024
1 parent 6d0573b commit ff16dcf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/rubocop/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,13 @@ Style/StringLiterals:
- config/initializers/inflections.rb
- bin/rails
- bin/rake

Style/SafeNavigationChainLength:
Enabled: true
Exclude:
- app/controllers/publish/courses/gcse_requirements_controller.rb
- app/forms/publish/course_study_mode_form.rb
- app/models/course.rb
- app/models/course_enrichment.rb
- app/services/courses/content_status_service.rb
- app/services/courses/creation_service.rb

0 comments on commit ff16dcf

Please sign in to comment.