-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.0.0 pre-release issues #129
Comments
kevindew
added a commit
that referenced
this issue
Feb 19, 2021
This is a pre-release of 4.0.0 that can be applied to a number of GOV.UK applications to help understand whether applying this release is going to be difficult for GOV.UK. I've documented this further in a GitHub issue: #129
Merged
kevindew
added a commit
to alphagov/publishing-api
that referenced
this issue
Feb 22, 2021
This is to test the pre-release out of 4.0.0. Further details are available at: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/govuk_publishing_components
that referenced
this issue
Feb 23, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/smart-answers
that referenced
this issue
Feb 23, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/gds-api-adapters
that referenced
this issue
Feb 24, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
This was referenced Feb 24, 2021
kevindew
added a commit
to alphagov/search-api
that referenced
this issue
Feb 25, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/bouncer
that referenced
this issue
Feb 25, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/licence-finder
that referenced
this issue
Feb 25, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129 I've also moved the rubocop-govuk gem into development/test since it shouldn't be needed as part of production. I've also set the gem as require false as per the README recommendation since the code of it is not needed outside of running rubocop.
kevindew
added a commit
to alphagov/licence-finder
that referenced
this issue
Feb 26, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129 I've also moved the rubocop-govuk gem into development/test since it shouldn't be needed as part of production. I've also set the gem as require false as per the README recommendation since the code of it is not needed outside of running rubocop.
kevindew
added a commit
to alphagov/search-api
that referenced
this issue
Feb 26, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
This was referenced Feb 26, 2021
kevindew
added a commit
to alphagov/search-api
that referenced
this issue
Mar 4, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/cache-clearing-service
that referenced
this issue
Mar 8, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/govuk-developer-docs
that referenced
this issue
Mar 8, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/govuk-developer-docs
that referenced
this issue
Mar 9, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
This was referenced Mar 9, 2021
kevindew
added a commit
to alphagov/govuk-developer-docs
that referenced
this issue
Mar 12, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/whitehall
that referenced
this issue
Mar 19, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/whitehall
that referenced
this issue
Mar 22, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/content-publisher
that referenced
this issue
Apr 15, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/content-publisher
that referenced
this issue
Apr 26, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
kevindew
added a commit
to alphagov/email-alert-api
that referenced
this issue
May 5, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
This was referenced May 11, 2021
kevindew
added a commit
to alphagov/email-alert-api
that referenced
this issue
May 17, 2021
This is to test the pre-release out of 4.0.0. Further details are in: alphagov/rubocop-govuk#129
rubocop-govuk 4 is out and widely deployed across GOV.UK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With the 4.0.0 changes to rubocop-govuk there are quite a lot of new rules (1, 2) which make us unsure how big the impact will be for GOV.UK. Therefore we are releasing this version as a pre-release to help identify whether it presents any particular challenges for GOV.UK codebases before a wider release.
The approach to adding new rules is to favour consistency with the default rules of the upstream libraries (rubocop, rubcop-rails, etc) over individual opinions on approaches. We've aimed to disable only rules that would produce significant problems in applying to the GOV.UK codebase.
In this pre-release we should ensure that we test
To install this pre-release in app you need to update the Gemfile accordingly:
This thread can be used to raise any concerns regarding these new rules, particularly where they conflict with GOV.UK conventions or require so many changes adoption will be very difficult.
Initially there have been 2 rules that have proved divisive, where wider opinions are welcomed, these are: Lint/MissingSuper and Lint/UselessMethodDefinition. There are also some concerns that these rules could be difficult to apply are Gemspec/RequiredRubyVersion, Style/CombinableLoops, Style/HashLikeCase. So it'd be good to learn if these are too painful to apply consistently.
The text was updated successfully, but these errors were encountered: