- rubocop-minitest
- rubocop-performance
- rubocop-rails
+ - rubocop-rake
AllCops:
- TargetRubyVersion: 2.5
+ TargetRubyVersion: 2.7
NewCops: enable
Exclude:
- 'vendor/**/*'
Rails/HttpPositionalArguments:
Enabled: false
-Rails/InverseOf:
+Rails/ReflectionClassName:
Enabled: false
Rails/SkipsModelValidations:
- 'bin/setup'
- 'bin/update'
+Style/RedundantCondition:
+ Exclude:
+ - 'app/controllers/messages_controller.rb'
+ - 'app/controllers/sessions_controller.rb'
+ - 'app/controllers/users_controller.rb'
+
Style/StringLiterals:
EnforcedStyle: double_quotes