inherit_from: .rubocop_todo.yml
-require: rubocop-performance
+require:
+ - rubocop-performance
+ - rubocop-rails
AllCops:
TargetRubyVersion: 2.5
+ Exclude:
+ - 'vendor/**/*'
Rails:
Enabled: true
- 'app/controllers/application_controller.rb'
- 'app/controllers/site_controller.rb'
+Metrics/BlockLength:
+ Exclude:
+ - 'config/routes.rb'
+
+Metrics/ClassLength:
+ Exclude:
+ - 'test/**/*'
+
Naming/FileName:
Exclude:
- 'script/deliver-message'
Naming/UncommunicativeMethodParamName:
Enabled: false
-Rails/ApplicationRecord:
- Enabled: false
-
Rails/CreateTableWithTimestamps:
Enabled: false