2018-09-08 03:49:37 +02:00
|
|
|
require: rubocop-rspec
|
|
|
|
|
|
2014-07-21 13:09:37 +02:00
|
|
|
inherit_from: .rubocop_todo.yml
|
|
|
|
|
|
2017-03-24 20:13:02 +01:00
|
|
|
AllCops:
|
2018-09-08 03:49:37 +02:00
|
|
|
UseCache: true
|
|
|
|
|
CacheRootDirectory: tmp/rubocop_cache_rails_dir
|
|
|
|
|
MaxFilesInCache: 4000
|
2020-04-03 16:32:03 -07:00
|
|
|
Exclude:
|
|
|
|
|
- db/schema.rb
|
2018-09-08 03:49:37 +02:00
|
|
|
|
|
|
|
|
#################### Style ###########################
|
2017-03-28 14:42:21 +05:30
|
|
|
|
2018-09-08 03:49:37 +02:00
|
|
|
##################### Metrics ##################################
|
2017-03-24 20:13:02 +01:00
|
|
|
|
2018-09-08 03:49:37 +02:00
|
|
|
##################### Rails ##################################
|
2018-05-08 13:47:13 -07:00
|
|
|
|
2018-05-08 14:00:43 -07:00
|
|
|
Rails:
|
|
|
|
|
Enabled: true
|
2018-09-08 03:58:50 +02:00
|
|
|
|
|
|
|
|
##################### RSpec ##################################
|
|
|
|
|
|
|
|
|
|
FactoryBot/AttributeDefinedStatically:
|
|
|
|
|
Enabled: true
|
2018-10-23 19:31:46 -07:00
|
|
|
|
|
|
|
|
RSpec/DescribeClass:
|
|
|
|
|
Exclude:
|
|
|
|
|
- "spec/views/**/*"
|
|
|
|
|
- "spec/ability/*"
|
2018-11-13 18:01:35 -08:00
|
|
|
|
|
|
|
|
Layout/AlignHash:
|
|
|
|
|
EnforcedHashRocketStyle: table
|
|
|
|
|
EnforcedColonStyle: table
|