osem-fcy/.rubocop.yml
Andrew Kvalheim 75d28b802f
Don't clobber RuboCop's default excludes
By default, adding an exclude (faffc49) has the effect of removing the
default excludes. Merge them as described in rubocop-hq/rubocop#6567.
2021-03-06 19:33:28 +01:00

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