Chatwoot/.rubocop.yml

43 lines
909 B
YAML
Raw Normal View History

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
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
Metrics/BlockLength:
Exclude:
- spec/**/*
- '**/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
RSpec/NestedGroups:
Enabled: true
Max: 4
2019-10-21 05:48:47 +00:00
AllCops:
Exclude:
- db/*
- bin/**/*
- db/**/*
- config/**/*
- public/**/*
- vendor/**/*
- node_modules/**/*
- lib/tasks/auto_annotate_models.rake
- config/environments/**/*