- Deprecate govuk-ruby-lint
- Deprecate govuk-scss-lint
- Disable the Style/FormatStringToken cop.
- Bump rubocop to version 0.76, updating the linter config to work with it.
- Bump Ruby to 2.6.5
- Specify cop categories to stop 'no department given' warnings being output to the console
- Re-enable Cop to enforce trailing commas
- Revert "Don't enforce double-quotes for strings."
- Re-instate disabling of Rails linting by default
- Continue to support Rails cops using rubocop-rails
- Fix race condition when generating temp config file
- Remove redundant cop config for Performance/TimesMap
- Fix renamed cops IndentArray and IndentHash.
- Bump Rubocop to version 0.64 to fix Ruby 2.6.1 issue
- Bump Ruby to 2.6.1
- Changed DisplayCopNames, ExtraDetails, DisplayStyleGuide to be set in config files rather than as CLI options.
- Bump Rubocop to version ~> 0.58
- Bump Rubocop RSpec to version ~> 1.28
- Bump Rubocop to version 0.52.1 to fix Ruby 2.5.0 issue
- Bump Ruby to 5.2.0
- Excluded
namespace
blocks in rake tasks from Metrics/BlockLength
- Disabled Bundler/DuplicatedGem (#93)
- Disabled Rails/SkipsModelValidations (#92)
- Metrics/BlockLength for specs in sub-dirs (#87)
- Bump rubocop-rspec to v1.19.0 to fix deprecation warnings (#89)
- Fix config for Lint/LiteralInCondition cop which was renamed in Rubocop v0.50.0 (#89)
- Bump Rubocop to version 0.51.0 to fix a security vulnerability.
- Don't complain about block length in tests (#82)
- Make RSpec-related cops available from rubocop-rspec (#83)
- Relax class naming rules for Sass to allow hyphenated BEM classes (#79)
- Fix namespace for
ClosingParenthesisIndentation
config
- Upgrade
rubocop
to~> 0.49.0
- Enable
Lint/PercentStringArray
, protect against commas and quotes in word arrays (#71) - Disable
Style/SafeNavigation
(#68)
- Upgrade
rubocop
to~> 0.43.0
- Allow local .rubocop.yml to override the
AllCops/Exclude
configuration
- Unpin
rake
version - Unpin
scss_lint
version
- Disable
Performance/TimesMap
, andStyle/FrozenStringLiteralComment
- Enable
Style/MutableConstant
- Upgrade
rubocop
to~> 0.39.0
- Don't lint
db/schema.rb
.
- Disable
Style/ClosingParenthesisIndentation
which doesn't align with our styleguide.
- Disable cop
IfUnlessModifier
to allow single line if/unless blocks
- Add guard before accessing Rubocop instance var
@processed_source
- Replace references to instance var
@processed_source
with attr_accessor
- Include Sass lint configs with gem (#32)
- Add sass linting using scss-lint (#30)
- When upgrading you may have a bundle dependency issue. Running
bundle update sass sass-rails
should fix it.
- Enforce spaces around literal hash and block braces (#27)
- Don't permit braces for options-style hash params
BracesAroundHashParameters
cop (#26)
- Update rubocop dependency to ~> 0.35.0
- Enable outdent for access modifiers
- Enable blank lines around access modifiers
- Show more infos for violations
- Enable all lint checks
- Permit trivial predicates (#19)
- Respect local
.rubocop.yml
files (#17)
- Allow single indentation in Multiline operations
- Disable string quoting check (#8)
- Disable line length check (#7)
- Fix a bug in executing the difftool with linebreaks
- Don't initialize rubocop during initialization of this gem. This prevents warnings about the current Ruby version on application boot.
- Original Gem release