- Add tests for custom cops
- Removed
Rails/MissingLoggerInclude
due to maintenance burden
- Tree shake the config (no rules change)
- Add rubocop-factory_bot
- Add cops for Rails + NxtCore logger functionality
-
Disable more cops depending on the code style in our backend-services
-
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v2.0.1...v2.0.2
-
Disable more cops depending on the code style in our backend-services
-
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v2.0.0...v2.0.1
- Enabled all cops by default
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.3.1...v2.0.0
- Bumped dependencies version
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.3.0...v1.3.1
inherit_mode
was added todefault.yml
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.2.1...v1.3.0
- Add
Lint/MixedCaseRange
- Add
Lint/RedundantRegexpQuantifiers
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.2.0...v1.2.1
Bumped dependencies version
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.1.1...v1.2.0
- Add
Lint/DuplicateMatchPattern
- Add
Layout/EmptyLineAfterMagicComment
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.1.0...v1.1.1
- Change
DotPosition
to enforce leading dots for method invocation - Add multiple autocorrectable layout cops
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.19...v1.1.0
- Add
Layout/SpaceBeforeComma
- Add
Layout/SpaceAfterComma
- Add
Layout/EmptyLines
cops (#80)
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.18...v1.0.19
- Add
Rails/Date
cop (#50)
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.17...v1.0.18
- Adjust severity of the recently added Lint/SymbolConversion cop (#45)
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.16...v1.0.17
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.15...v1.0.16
- Don't enforce trailing comma in hash literals rule (#30)
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.14...v1.0.15
- 🚨 [security] Upgrade rubocop: 0.92.0 → 1.25.1 (major) by @depfu in #19
- Upgrade rubocop: 1.25.1 → 1.28.2 (minor) by @depfu in #26
- Allow including repos use their own ruby version by @shalvah-gs in #27
- Update rubocop-rails: 2.13.2 → 2.14.2 (minor) by @depfu in #22
Full Changelog: https://github.com/nxt-insurance/nxt_cop/compare/v1.0.13...v1.0.14
- Add
require: rubocop-rails
todefault.yml
Style/HashSyntax
Layout/EmptyLinesAroundClassBody
Layout/EmptyLinesAroundBlockBody
- Lint/MissingSuper
Updated Rubocop Version
- All new Cops
- Style/MutableConstant
Layout/SpaceBeforeBlockBraces
Layout/SpaceInsideBlockBraces
Layout/TrailingEmptyLines
Style/TrailingCommaInArguments
- Gemfile.lock from .gitignore