You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.
When upgrading govuk-lint to v3.1.0 in asset-manager I ran into an issue where the Metrics/BlockLength rule now defaults to a maximum of 25 lines. While I think this is OK in general terms, it's a bit problematic in DSL-style code, like RSpec specs.
I've seen this recommendation to to use rubocop-rspec and so I think it might be sensible to add this gem as a dependency of govuk-lint.
What do people think?
The text was updated successfully, but these errors were encountered:
fofr
added a commit
to alphagov/government-frontend
that referenced
this issue
Jul 27, 2017
When upgrading
govuk-lint
to v3.1.0 inasset-manager
I ran into an issue where theMetrics/BlockLength
rule now defaults to a maximum of 25 lines. While I think this is OK in general terms, it's a bit problematic in DSL-style code, like RSpec specs.I've seen this recommendation to to use
rubocop-rspec
and so I think it might be sensible to add this gem as a dependency ofgovuk-lint
.What do people think?
The text was updated successfully, but these errors were encountered: