Skip to content

Commit

Permalink
Upgrade to rubocop-govuk 4.13.0 (#493)
Browse files Browse the repository at this point in the history
Fixes #491
peteryates authored Jan 5, 2024
2 parents 1d7c7b6 + c95cf76 commit ea993ca
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@ AllCops:
Exclude:
- govuk_design_system_formbuilder.gemspec
- spec/dummy/**/*
- guide/node_modules/**/*
Security/Eval:
Exclude:
- guide/lib/helpers/formatters.rb
2 changes: 1 addition & 1 deletion app/components/govuk_component/accordion_component.rb
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ class GovukComponent::AccordionComponent < GovukComponent::Base
GovukComponent::AccordionComponent::SectionComponent.new(
classes: classes,
expanded: expanded,
heading_level: heading_level, # set once at parent level, passed to all children
heading_level: heading_level, # set once at parent level, passed to all children
html_attributes: html_attributes,
summary_text: summary_text,
heading_text: heading_text,
2 changes: 1 addition & 1 deletion govuk-components.gemspec
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "pry-byebug"
spec.add_development_dependency "rspec-html-matchers", "~> 0.9"
spec.add_development_dependency "rspec-rails"
spec.add_development_dependency "rubocop-govuk", "= 4.12.0"
spec.add_development_dependency "rubocop-govuk", "= 4.13.0"
spec.add_development_dependency "sassc-rails"
spec.add_development_dependency("simplecov", "~> 0.20")
spec.add_development_dependency "sqlite3"

0 comments on commit ea993ca

Please sign in to comment.