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
|
|
|
|
|
2020-01-09 07:36:40 +00:00
|
|
|
Layout/LineLength:
|
2019-08-21 04:57:57 +00:00
|
|
|
Max: 150
|
2020-01-07 17:29:17 +00:00
|
|
|
Metrics/ClassLength:
|
|
|
|
Max: 125
|
2019-12-10 04:59:35 +00:00
|
|
|
RSpec/ExampleLength:
|
2019-12-24 07:57:25 +00:00
|
|
|
Max: 15
|
2020-01-09 07:36:40 +00:00
|
|
|
Style/Documentation:
|
2019-08-21 04:57:57 +00:00
|
|
|
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'
|
2019-12-22 17:23:18 +00:00
|
|
|
- 'config/environments/*'
|
2019-12-03 17:24:08 +00:00
|
|
|
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
|
2020-01-09 06:29:31 +00:00
|
|
|
Exclude:
|
|
|
|
- 'config/application.rb'
|
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
|
2019-12-15 18:23:04 +00:00
|
|
|
- config/environments/**/*
|