osem-fcy/.rubocop.yml

45 lines
822 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 ###########################
Style/CommentAnnotation:
Keywords:
- TODO-SNAPCON
- TODO
- OPTIMIZE
- HACK
- REVIEW
##################### Metrics ##################################
##################### Rails ##################################
Rails:
Enabled: true
##################### RSpec ##################################
FactoryBot/AttributeDefinedStatically:
Enabled: true
RSpec/DescribeClass:
Exclude:
- "spec/views/**/*"
- "spec/ability/*"
Layout/AlignHash:
EnforcedHashRocketStyle: table
EnforcedColonStyle: table