Commit Graph

4 Commits

Author SHA1 Message Date
Sean 2269d2679e
Enable RuboCop `Style/HashSyntax` (#1371) 2022-11-09 14:24:29 +01:00
Yasuo Honda b0d09804e0 Add `Style/RedundantFileExtensionInRequire` cop
It is available since RuboCop 0.88.0
https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0880-2020-07-13
2020-12-31 20:17:00 +09:00
Yasuo Honda 7fca7a1c86 Unlock RuboCop version
Ransack supports Ruby 2.6 or higher then RuboCop version can be unlocked.
2020-12-31 20:15:31 +09:00
Yasuo Honda b74842a067 Enable RuboCop
- RuboCop version is locked to 0.81.0 which supports Ruby 2.3
Once Ransack bumps the required_ruby_version, RuboCop can be bumped.

- `DisabledByDefault: true` not to apply all of default cops

- Some Layout and Style cops are enabled to make initial changes small
Other cops can be enabled later.
2020-12-23 16:22:08 +09:00