2019-10-23 18:26:48 +00:00
|
|
|
require:
|
|
|
|
- rubocop-performance
|
|
|
|
- rubocop-rails
|
|
|
|
- rubocop-rspec
|
2019-10-21 05:48:47 +00:00
|
|
|
inherit_from: .rubocop_todo.yml
|
|
|
|
|
2019-08-21 04:57:57 +00:00
|
|
|
Metrics/LineLength:
|
|
|
|
Max: 150
|
2019-12-10 04:59:35 +00:00
|
|
|
RSpec/ExampleLength:
|
|
|
|
Max: 10
|
2019-08-21 04:57:57 +00:00
|
|
|
Documentation:
|
|
|
|
Enabled: false
|
2019-09-04 04:38:21 +00:00
|
|
|
Style/FrozenStringLiteralComment:
|
|
|
|
Enabled: false
|
|
|
|
Style/SymbolArray:
|
|
|
|
Enabled: false
|
2019-10-12 18:08:41 +00:00
|
|
|
Metrics/BlockLength:
|
|
|
|
Exclude:
|
|
|
|
- spec/**/*
|
2019-12-03 17:24:08 +00:00
|
|
|
- '**/routes.rb'
|
|
|
|
Rails/ApplicationController:
|
|
|
|
Exclude:
|
|
|
|
- 'app/controllers/api/v1/widget/messages_controller.rb'
|
|
|
|
- 'app/controllers/dashboard_controller.rb'
|
|
|
|
- 'app/controllers/widget_tests_controller.rb'
|
|
|
|
- 'app/controllers/widgets_controller.rb'
|
2019-10-21 05:48:47 +00:00
|
|
|
Style/ClassAndModuleChildren:
|
|
|
|
EnforcedStyle: compact
|
2019-11-30 12:03:42 +00:00
|
|
|
RSpec/NestedGroups:
|
|
|
|
Enabled: true
|
|
|
|
Max: 4
|
2019-10-21 05:48:47 +00:00
|
|
|
AllCops:
|
|
|
|
Exclude:
|
|
|
|
- db/*
|
|
|
|
- bin/**/*
|
|
|
|
- db/**/*
|
|
|
|
- config/**/*
|
|
|
|
- public/**/*
|
|
|
|
- vendor/**/*
|
|
|
|
- node_modules/**/*
|
2019-11-30 13:39:55 +00:00
|
|
|
- lib/tasks/auto_annotate_models.rake
|