mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
39 lines
773 B
YAML
39 lines
773 B
YAML
require:
|
|
- rubocop-rspec
|
|
- rubocop-rspec_rails
|
|
- rubocop-rails
|
|
- rubocop-capybara
|
|
- rubocop-performance
|
|
- rubocop-factory_bot
|
|
|
|
inherit_from: .rubocop_todo.yml
|
|
|
|
inherit_mode:
|
|
merge:
|
|
- Exclude
|
|
|
|
AllCops:
|
|
UseCache: true
|
|
CacheRootDirectory: tmp/rubocop_cache_rails_dir
|
|
MaxFilesInCache: 4000
|
|
Exclude:
|
|
- db/schema.rb
|
|
NewCops: enable
|
|
|
|
#################### Style ###########################
|
|
|
|
Layout/HashAlignment:
|
|
EnforcedHashRocketStyle: table
|
|
EnforcedColonStyle: table
|
|
|
|
##################### Metrics ##################################
|
|
|
|
##################### Rails ##################################
|
|
|
|
##################### RSpec ##################################
|
|
|
|
RSpec/DescribeClass:
|
|
Exclude:
|
|
- "spec/views/**/*"
|
|
- "spec/ability/*"
|
|
|