mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
By default, adding an exclude (faffc49) has the effect of removing the
default excludes. Merge them as described in rubocop-hq/rubocop#6567.
37 lines
715 B
YAML
37 lines
715 B
YAML
require: rubocop-rspec
|
|
|
|
inherit_from: .rubocop_todo.yml
|
|
|
|
inherit_mode:
|
|
merge:
|
|
- Exclude
|
|
|
|
AllCops:
|
|
UseCache: true
|
|
CacheRootDirectory: tmp/rubocop_cache_rails_dir
|
|
MaxFilesInCache: 4000
|
|
Exclude:
|
|
- db/schema.rb
|
|
|
|
#################### Style ###########################
|
|
|
|
##################### Metrics ##################################
|
|
|
|
##################### Rails ##################################
|
|
|
|
Rails:
|
|
Enabled: true
|
|
|
|
##################### RSpec ##################################
|
|
|
|
FactoryBot/AttributeDefinedStatically:
|
|
Enabled: true
|
|
|
|
RSpec/DescribeClass:
|
|
Exclude:
|
|
- "spec/views/**/*"
|
|
- "spec/ability/*"
|
|
|
|
Layout/AlignHash:
|
|
EnforcedHashRocketStyle: table
|
|
EnforcedColonStyle: table
|