0.10.0 (October 18, 2021)
Enhancements
- Upgrade to Rubocop Rails 2.8.x (Aaron Hill, Aaron Kromer, Ben Reynolds, James Nebeker, JC Avena, Sam Kim, Alex
Stone #30, #32) - Adjust common Rubocop Rails configuration (Aaron Hill, Aaron Kromer, Ben Reynolds, James Nebeker, JC Avena,
Sam Kim, Alex Stone #30, #32)- Enable
Rails/AttributeDefaultBlockValue
by default - Enable
Rails/ArelStar
by default - Enable
Rails/DefaultScope
by default - Enable
Rails/FindById
by default - Enable
Rails/PluckId
by default - Enable
Rails/WhereEquals
by default - Use the more aggressive
aggressive
check forRails/PluckInWhere
- Use the more aggressive
aggressive
check forRails/ShortI18n
- Switch to new
AllowedMethods
attribute name forRails/SkipsModelValidations
- Disable
Rails/SquishedSQLHeredocs
by default
- Enable
- Adjust common Rubocop configuration (Aaron Hill, Aaron Kromer, JC Avena, Sam
Kim #32, #34)- Enable
Style/ClassMethodsDefinitions
by default - Enable
Style/CombinableLoops
by default - Enable
Style/KeywordParametersOrder
by default - Enable
Style/RedundantSelfAssignment
by default - Enable
Style/SoleNestedConditional
by default - Enable
Lint/DuplicateRequire
by default - Enable
Lint/EmptyFile
by default - Enable
Lint/TrailingCommaInAttributeDeclaration
by default - Enable
Lint/UselessMethodDefinition
by default - Exclude the following testing methods from
Metrics/BlockLength
- 'describe'
- 'shared_context'
- 'shared_examples'
- 'RSpec.describe'
- 'RSpec.shared_context'
- 'RSpec.shared_examples'
- Enable
Bug Fixes
None