- Update
rubocop
v0.80.0 andrubocop-rspec
v1.34.0- Thanks to @Narazaka, @sue445
- Ignored
Style/YodaCondition
(@sue445)
- Remove
Style/EmptyLineAfterGuardClause
cop's configuration
- Relax rubocop dependency for
rubocop-rspec
(@sue445)
- Update
rubocop
v0.53.0 andrubocop-rspec
v1.24.0 Style/TrailingCommaInLiteral
cop is separated toStyle/TrailingCommaInArrayLiteral
andStyle/TrailingCommaInHashLiteral
Performance/HashEachMethods
cop is removed- Disable new
Naming/UncommunicativeMethodParamName
cop - Enable
Style/FormatStringToken
cop - Enable new
Style/EmptyLineAfterGuardClause
cop - Enable
Lint/Void
cop's mutating methods check - Remove
TargetRailsVersion
from template - Change
Layout/SpaceInsideBlockBraces
cop option
- Update
rubocop-rspec
to v1.22.0 - Change new
RSpec/ExpectChange
cop toblock
style
- Update
rubocop
to v0.52.1 - Use
Layout/SpaceBeforeBlockBraces
cop's default configuration - Update
TargetRubyVersion
of auto-generate configuration to 2.5 Lint/AmbiguousBlockAssociation
,Style/BlockDelimiters
andStyle/Semicolon
cops are now exclude onlyspec/**/*_spec.rb
instead ofspec/**/*
- Update
rubocop
v0.52.0 andrubocop-rspec
v1.21.0 - Remove
DisplayCopNames
configuration - Enable new
Style/ClassStructure
cop - Disalbe
Style/FormatStringToken
cop - Change
Layout/SpaceBeforeBlockBraces
cop's empty braces style tospace
- Change
Style/RescueStandardError
cop to implicit style - Change
RSpec/MultipleExpectations
cop toAggregateFailuresByDefault
style - Exclude
bin/setup
,bin/update
fromStyle/MixinUsage
cop
- Update
rubocop-rspec
to v1.20.0 - Disable new
RSpec/ContextWording
cop - Disable
Rails/Delegate
,Rails/Exit
,Rails/FilePath
,Rails/PluralizationGrammar
andRails/Present
cops - Enable
Rails/NotNullColumn
cop
- Update
rubocop
v0.51.0 andrubocop-rspec
v1.19.0 - Enable
Lint/ReturnInVoidContext
cop - Add
staging
env toRails/UnknownEnv
cop - Add comments to
Style/SafeNavigation
andLint/UnusedMethodArgument
cop
- Update
rubocop
v0.50.0 andrubocop-rspec
v1.18.0 - Disable
Performance/HashEachMethods
cop - Disable new
Style/OrAssignment
cop - Change cop's department from
Style
toNaming
- Disable new
Lint/RescueWithoutErrorClass
cop node_modules
directory is now excluded by rubocop as default- Enable
Style/YodaCondition
cop withequality_operators_only
style
- Update
rubocop-rspec
v1.16.0 - Disable new
RSpec/ReturnFromStub
cop. - Exclude
config/environments/*.rb
from Metrics/BlockLength cop. - Disable
Performance/Casecmp
cop. - Disable
RSpec/EmptyLineAfterFinalLet
cop. - Relax
RSpec/NestedGroups
cop.
- Update
rubocop
v0.49.1. - Change
Style/TrailingCommaInArguments
tocomma
style.
- Update
rubocop
v0.49.0 andrubocop-rspec
v1.15.1 - Enable
Lint/AmbiguousBlockAssociation
cop exceptspec/**/*
- Change some cops to
Layout
department - Disable new
Style/YodaCondition
cop
- Disable
Lint/AmbiguousBlockAssociation
cop.
- Update
rubocop
v0.48.1. - Enable
Rails/Blank
cop. - Enable
Lint/AmbiguousBlockAssociation
cop. - Remove Exclude option from
Style/MixinGrouping
cop. - Change
Style/NumericLiterals
cop toStrict
.
- Update
rubocop
v0.48.0. - Disable new
Lint/AmbiguousBlockAssociation
cop. - Disable new
Rails/Blank
cop. - Disable
Style/SymbolArray
,StyleWordArray
cop. - Change
Style/MultilineMethodCallIndentation
toindented_relative_to_receiver
style. - Exclude RSpec directory from new
Style/MixinGrouping
cop. - Ignore
node_modules
dir. - Add
TargetRailsVersion
to README and template
- Change
Style/StringLiteralsInInterpolation
todouble_quotes
style.
- Update
rubocop-rspec
v1.12.0. - Enable
Style/StringMethods
cop. - Enable
Style/StringLiteralsInInterpolation
cop. - Change
RSpec/DescribedClass
toexplicit
style. - Exclude
*.gemspec
fromMetrics/BlockLength
cop. - Disable
Lint/EmptyWhen
cop.
- Update to
rubocop
v0.47.1 andrubocop-rspec
v1.10.0. - Remove
Style/SingleLineBlockParams
cop config because disabled by default. - Disable new
Security/YAMLLoad
cop.
- Update to
rubocop-rspec
v1.9.1. - Disable
RSpec/MessageExpectation
cop that is replaced with a new cop:RSpec/MessageSpies
. - Add CLI for setup
.rubocop.yml
.
- Update to
rubocop
v0.46.0. - Use new
Style/EmptyMethod
cop withexpanded
style. - Use
Style/TernaryParentheses
coprequire_parentheses_when_complex
style.
- Update to
rubocop
v0.45.0 andrubocop-rspec
v1.8.0. - Disable new
RSpec/ImplicitExpect
cop. - Explicitly enable
Rspec/MessageExpectation
cop that is now disabled by default. - Exclude Gemfile, Guardfile on
Metrics/BlockLength
. - Disable
Style/TernaryParentheses
cop. - Enable
Rails/HttpPositionalArguments
cop that fixes bug.