The format is described in Contributing notes.
-
(Breaking) Support Ruby >= 3.0.0
-
Update rubocop to
1.65.1
. ([@Set27]) -
Update rubocop-graphql to
1.5.4
. ([@Set27]) -
Update rubocop-rails to
2.26
. ([@Set27]) -
Update rubocop-spec to
3.0.4
. ([@Set27])
- Added GraphQL cops. (@Anastastasia-B)
-
(Breaking) Support Ruby >= 2.7.0
-
Update rubocop to
1.56.3
. ([@Set27]) -
Update rubocop-rails to
2.21.0
. ([@Set27]) -
Update rubocop-spec to
2.24.0
. ([@Set27])
- Update rubocop to
1.45.1
. (@r.dubrovsky) - Update rubocop-rails to
2.17.4
. (@r.dubrovsky) - Update rubocop-rspec to
2.18.1
. (@r.dubrovsky)
- #261 Add new config
rails-locales
. (@r.dubrovsky)
-
(Breaking) Drop support for Ruby 2.4 and Ruby 2.5. (@r.dubrovsky)
-
#260 Update rubocop to
1.39
. (@r.dubrovsky)- Setup
Layout/CaseIndentation
rule. (@r.dubrovsky)
- Setup
-
#261 Update rubocop-rails to
2.17.3
. (@r.dubrovsky) -
#262 Update rubocop-rspec to
2.15
. (@r.dubrovsky) -
#32 Enable back
Style/FrozenStringLiteralComment
cop. (@r.dubrovsky) -
#176 Fix hash alignment via changing
Layout/HashAlignment
cop. (@r.dubrovsky) -
#263 Setup
EnforcedStyle
forLayout/LineEndStringConcatenationIndentation
cop. (@r.dubrovsky) -
#258 Setup
EnforcedStyle
forLayout/FirstArrayElementIndentation
cop. (@r.dubrovsky) -
#179 Setup
EnforcedStyleAlignWith
rule forLayout/BlockAlignment
cop. (@r.dubrovsky)
- #196 Fix
Layout/ArrayAlignmentExtended
cop. (@r.dubrovsky) - #258 Fix conflict between
Layout/ArrayAlignmentExtended
andLayout/FirstArrayElementIndentation
cops. (@r.dubrovsky)
- #219 Add
RSpec/PreferBeforeOverSetup
cop. (@paydaylight)
- #233 Setup
EnforcedStyleForMultiline
forStyle/TrailingCommaInArguments
andStyle/TrailingCommaInArrayLiteral
rules. (@paydaylight) - #124 Move gem dependencies to
./datarockets-style.gemspec
and dropGemfile.lock
tracking. (@paydaylight) - #253 Update rubocop to
1.10
. (@paydaylight) - #124 Update rubocop-rails to
2.9
. (@paydaylight)
- #251 Update documentation to match
1.1.0
release changes. (@paydaylight)
- Setup
EnforcedStyleForMultiline
forStyle/TrailingCommaInHashLiteral
rule. (@r.dubrovsky) - Update rubocop to
1.9.1
. (@paydaylight) - Update rubocop-rails requirement to
>= 2.8.0, < 2.10.0
. (@paydaylight) - Update rubocop-rspec to
2.2.0
. (@paydaylight) - Change
Datarockets::Style
module toDatarocketsStyle
. (@paydaylight)
- #177 set
Layout/MultilineOperationIndentation
to indented (@paydaylight)
- Update rubocop to
1.2.0
. - Update rubocop-rails to
2.8.1
. - Update rubocop-rspec tp
2.0.0
.
- Update rubocop to '0.93.1'. (@r.dubrovsky)
- Enable new cops
Lint/BinaryOperatorWithIdenticalOperands
,Lint/DuplicateRescueException
,Lint/EmptyConditionalBody
,Lint/FloatComparison
,Lint/MissingSuper
,Lint/OutOfRangeRegexpRef
,Lint/SelfAssignment
,Lint/TopLevelReturnWithArgument
,Lint/UnreachableLoop
,Style/ExplicitBlockArgument
,Style/GlobalStdStream
,Style/OptionalBooleanParameter
,Style/SingleArgumentDig
,Style/SoleNestedConditional
andStyle/StringConcatenation
in version0.89
. - Allow to add all new lints automatically.
- Add auto-correctable count notification.
- Fix tests
- Enable new cops
- Update rubocop-rails to
2.7.1
. - Update rubocop-rspec tp
1.43.2
.- Disable
RSpec/MultipleMemoizedHelpers
cop.
- Disable
-
Update rubocop to
0.88.0
. (@r.dubrovsky)- Enable new cops
Lint/MixedRegexpCaptureTypes
,Style/RedundantRegexpCharacterClass
andStyle/RedundantRegexpEscape
. Cops were added in version0.85
. - Enable new cop
Style/RedundantFetchBlock
. Cop was added in version0.86
. - Enable new cops
Style/AccessorGrouping
,Style/BisectedAttrAccessor
andStyle/RedundantAssignment
. Cops were added in version0.87
. - Enable new cops
Lint/DuplicateElsifCondition
,Style/ArrayCoercion
,Style/CaseLikeIf
,Style/HashAsLastArrayItem
,Style/HashLikeCase
andStyle/RedundantFileExtensionInRequire
. Cops were added in version0.88
.
- Enable new cops
-
Update rubocop-rails to
2.6.0
. -
Update rubocop-rspec to
1.42.0
. -
Setup
no_braces
rule forStyle/HashAsLastArrayItem
cop which added in the rubocop version0.88
.
-
(Breaking) Drop support for Ruby 2.3. (@r.dubrovsky)
-
Update rubocop to
0.84.0
. (@r.dubrovsky)- Enable new cops
Lint/RaiseException
andLint/StructNewOverride
. Cops were added in version0.81
. - Enable new cops
Layout/SpaceAroundMethodCallOperator
andStyle/ExponentialNotation
. Cops were added in version0.82
. - Enable new cops
Layout/EmptyLinesAroundAttributeAccessor
andStyle/SlicingWithRange
. Cops were added in version0.83
. - Enable new cop
Lint/DeprecatedOpenSSLConstant
. Cop was added in version0.84
.
- Enable new cops
-
Update rubocop-rails to
2.5.2
. -
Update rubocop-rspec to
1.39
. -
Update
activesupport
for fixing security issues.
- Update rubocop to
0.80.1
.
- Add
Style/NestedInterpolation
cop. (@r.dubrovsky)
-
Update rubocop to
0.80.0
. (@r.dubrovsky)- Add
Style/HashEachMethods
,Style/HashTransformKey
,Style/HashTransformValues
cops. - #7641: Remove
Style/BracesAroundHashParameters
cop.
- Add
-
Update rubocop-rspec to
1.38.1
. -
Enable
rubocop-rails
cops for rails config. (@ula) -
Setup
Style/Documentation
for rails config. (@r.dubrovsky) -
Setup
Style/ClassAndModuleChildren
cop. (@r.dubrovsky) -
Enable
RSpec/LetSetup
cop. (@r.dubrovsky)
- #130: Add Layout/ArrayAlignmentExtended cop (@nikitasakov)
- Update rubocop to
0.79.0
. - Update rubocop-rspec to
1.37.1
. - Add notes for setting up Rspec configuration for fixing Rspec internal style issues. (@r.dubrovsky)
- #58: Disable
RSpec/LetSetup
cop by default. (@ula)
- #80: Allows adding additional files and directories to excluding block for rubocop. (@nikitasakov)
- Fix documentation issues. (@ula)
- Update rubocop to
0.77.0
.
- #137: Usage of rubocop 0.77.0 version causes errors. ([@d.kachur][])
- #126: Result for ToDo list formatter. (@r.dubrovsky)
- #107: Add ToDo list formatter. (@r.dubrovsky)
- Update rubocop to
0.76
. (@r.dubrovsky) - Change default value for
RSpec/ExampleLength
cop. (@a.branzeanu) - Disable
RSpec/NestedGroups
cop by default. (@r.dubrovsky)
- Split single rubocop config to smaller (for ruby, rails and rspec). (@r.dubrovsky)
- Update rubocop to
0.75.1
. - Update rubocop-rspec to
1.36.0
. - Use block style for
RSpec/ExpectChange
cop. (@r.dubrovsky) - Add
RSpec/MessageSpies
cop to style guide. (@r.dubrovsky)
- Fix
RSpec/DescribedClass
's error whendescribed_class
is used as part of a constant. This is part of rubocop-rspec changes.
- Update rubocop-rspec to
1.35.0
. (@r.dubrovsky) - Use context-dependent style for curly braces around hash params. (@v.kuzmik)
- Use leading underscores in cached instance variable name (cop:
Naming/MemoizedInstanceVariableName
). (@ula) - Allow use
for
withRSpec/ContextWording
cop. (@r.dubrovsky) - Change
Layout/AlignArguments
andLayout/IndentFirstHashElement
cops for aligning arguments with fixed indentation. (@r.dubrovsky) - Enable
Layout/MultilineMethodCallIndentation
cop for aligning arguments with fixed indentation. (@r.dubrovsky, @ula)
- Update rubocop to
0.74.0
. (@r.dubrovsky) - Update rubocop-rspec to
1.34.1
. (@r.dubrovsky) - Move shared rubocop config into
config
directory. (@r.dubrovsky) - Allow writing empty methods in two lines. (@v.kuzmik)
- Disable
Style/FrozenStringLiteralComment
cop by default. (@r.dubrovsky)
- #4222: Disable
Lint/AmbiguousBlockAssociation
for Rspec directory. (@r.dubrovsky) - #65: Exclude
node_modules
from rubocop scope. (@r.dubrovsky)
- Update rubocop to
0.73.0
. (@r.dubrovsky) - Use preferred variable name in rescued exceptions (cop:
Naming/RescuedExceptionsVariableName
). (@ula) - Disable
RSpec/ImplicitSubject
cop for rspec files. (@r.dubrovsky)
- Base config with community rules and some basic override rules. (@r.dubrovsky, @aleks)
- Config is based on rubocop version 0.72.0. (@r.dubrovsky)
- Enable
rubocop-spec
cops by default. (@r.dubrovsky) - Enable
Bundler/DuplicatedGem
cop by default. (@r.dubrovsky) - Enable
Bundler/OrderedGems
cop with allowing ordering by groups. (@r.dubrovsky)
- Change the limit for size of line to 120 symbols. (@r.dubrovsky)
- Disable
Metrics/BlockLength
cop for rspec files. (@r.dubrovsky) - Exclude rubocop checking for some config directories. (@r.dubrovsky)
- Enable preferring double quotes for string literals. (@r.dubrovsky)
- Do not add spaces between hash literal braces (cop
Layout/SpaceInsideHashLiteralBraces
). (@r.dubrovsky) - Prefer normal style for
Layout/IndentationConsistency
cop for Rails apps too. (@r.dubrovsky) - Change style to
variable
forLayout/EndAlignment
cop. (@r.dubrovsky) - Change style to
with_fixed_indentation
with indentation width 2 forLayout/AlignParameter
cop. (@r.dubrovsky) - Always ignore hash aligning for key word arguments. (cop:
Layout/AlignHash
) (@r.dubrovsky)