- Upgrade
rubocop
to v1.68.0.
- Add Rake specific checks with the official extension, rubocop-rake:
- Enforce description (
desc
) for rake tasks, as otherwise they are not listed whenrake -T
is called - No duplicate namespace/task names
- Methods/Classes shouldn't be defined inside namespaces, it's misleading because they are defined at the top level
- Enforce description (
- Upgrade
rubocop
to v1.59.0 to support Ruby 3.3.
- Add configuration for
Gemspec/RequiredRubyVersion
cop for configuration manifest embedded gems
- Upgrade
rubocop
to v1.43.0.
- Drop support for Ruby 2.6 as it is EOL
- Add support for Ruby 3.2
- Upgrade
rubocop
to v1.42.0. - Upgrade
rubocop-performance
to v1.15.2. - Upgrade
rubocop-rails
to v2.17.4. - Upgrade
rubocop-rspec
to v2.16.0.
- Set
Style/HashSyntax
optionEnforcedShorthandSyntax: either
, allowing both{ foo: }
and{ foo: foo }
- Note: Previous versions had drifted from the documented versioning scheme,
which states that versions should match the shipped version of
rubocop
. - Upgrade to
rubocop
v1.27.0 with support for Ruby 3.1. - Upgrade
rubocop-rails
to v2.12.0. - Upgrade
rubocop-rspec
to v2.9.0. - Upgrade
rubocop-performance
to v1.12.0.
- Disable Style/ExplicitBlockArgument for performance reasons, https://github.com/JuanitoFatas/fast-ruby/blob/master/code/proc-and-block/proc-call-vs-yield.rb.
- Re-enable version specifier checks for the
Bundler/GemComment
cop, for limiting version specifiers only. - Upgrade to
rubocop
v1.13.0 - Drop support for Ruby 2.5 now that's in EOL
- Disable version specifier checks for the
Bundler/GemComment
cop until rubocop/rubocop#9358 is merged.
- Configure file exclusions for
Rails/RakeEnvironment
andGemspec/RequiredRubyVersion
- Upgrade to
rubocop
v1.0.0 - Upgrade to
rubocop-rspec
v2.0.0
- Upgrade to
rubocop
v0.93.1 - Add configuration for pending 1.0 cops
- Upgrade to
rubocop
v0.91.0
- Upgrade to
rubocop
v0.85.0 - Enable enforcement of Gem comments when specifying versions or sources
- Drop support for Ruby 2.3, as rubocop v0.81+ doesn't support it anymore
- Add
FrozenStringLiteralComment
andLineLength
(max 120) rules.
- Fix "
Style/SymbolArray
is concealed by line 190" warning
- Upgrade to
rubocop
v0.78.0 - Upgrade to
rubocop_rspec
v1.37.0 - Add
rubocop-rails
v2.4.0` - Add
rubocop-performance
v1.5.0` - Update names/namespaces of rules that changed between 0.62 and 0.78
- Upgrade to
rubocop
v0.62.0 - Upgrade to
rubocop_rspec
v1.31.0
- Upgrade to
rubocop_rspec
v1.30.1
- Upgrade to
rubocop
v0.60.0
- Update
rubocop
to v0.59.2. - Add
Salsify/RailsUnscoped
cop.
- Update
rubocop
to v0.58.0. - Update
rubocop-rspec
to v1.29.0. - Adjust Ruby version configuration in
Salsify/StyleDig
spec.
- Fix
Salsify/StyleDig
false positive in assignments (see #20).
- Update to
rubocop
v0.52.1 andrubocop-rspec
v1.21.0.
- Add
Salsify/RailsApplicationMailer
cop.
- Add
Salsify/RspecDotNotSelfDot
cop. - Add
Salsify/RailsApplicationSerializer
cop. - Update to
rubocop
v0.48.1 andrubocop-rspec
v1.15.0. - Disable cops:
Lint/AmbiguousBlockAssociation
,Style/PercentLiteralDelimiters
, andStyle/SymbolArray
.
- Fix issue for
Salsify/Style
with nested access as the target for conditional assignment.
- Add
Salsify/StyleDig
cop to recommend using#dig
for deeply nested access. - Add
Salsify/RailsApplicationRecord
cop. - Add new
rubocop_rails50
configuration for use with Rails 5.0 apps.
- Update to
rubocop
v0.47.1 andrubocop-rspec
v1.10.0. - Enable
Bundler/OrderedGems
now that auto-correct is supported. - Disable new cop
Rails/FilePath
. - Disable
RSpec/MessageExpectation
and useRSpec/MessageSpies
instead. - Add
DisplayCopNames: true
default forAllCops
.
- Update to
rubocop
v0.46.0. - Disable new cops:
Bundler/OrderedGems
andStyle/EmptyMethod
. - Disable cops:
Style/MultilineBlockChain
andStyle/SingleLineBlockParams
.
- Update to
rubocop
v0.45.0 andrubocop-rspec
v1.8.0. - Explicitly enable
Rspec/MessageExpectation
cop that is now disabled by default.
- Update to
rubocop
v0.44.1. - Disable new cops:
Metrics/BlockLength
andRails/HttpPositionalArguments
.
- Update to
rubocop
v0.43.0. - Update to
rubocop-rspec
v1.7.0. - Disable new RSpec cops:
LeadingSubject
,LetSetup
,MultipleExpectations
, andNestedGroups
. - Disable new cop
RSpec/ExpectActual
for routing specs. - Disable problematic cops
Style/NumericPredicate
,Style/SafeNavigation
, andStyle/VariableNumber
. - Disable
Style/IndentHash
, which applies to the first line, since we are not usingStyle/AlignHash
. - Add
Salsify/RspecStringLiterals
cop to check non-doc string quotes for examples/example groups. - Modify
Salsify/RspecDocString
to treat names for shared groups and shared example as doc strings.
- Update to RuboCop v0.42.
- Add
Salsify/RspecDocString
cop to check quoting for examples/example groups.
-
.ruby-version
can be used to determine TargetRubyVersion in RuboCop v0.41 -
Change to
rubocop_rails
configuration: Rails/UniqBeforePluck: EnforcedMode: aggressive -
Changes to
rubocop_without_rspec
configuration: Style/EachForSimpleLoop: AutoCorrect: falseStyle/ModuleFunction: EnforcedStyle: extend_self Style/NumericLiteralPrefix: Enabled: false
-
Changes to
rubocop_without_rspec
configuration:Performance/RedundantMerge: MaxKeyValuePairs: 1 Style/ModuleFunction: Enabled: false Style/RaiseArgs: EnforcedStyle: compact
- Initial version