Chatwoot/.rubocop.yml

44 lines
939 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:
2019-12-24 07:57:25 +00:00
Max: 15
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'
- 'config/environments/*'
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/**/*