Update rubocop-rspec to version 2.4.0
This commit is contained in:
parent
9e7310c335
commit
8b9e4d1288
5 changed files with 456 additions and 723 deletions
14
.rubocop.yml
14
.rubocop.yml
|
|
@ -12,26 +12,22 @@ AllCops:
|
|||
MaxFilesInCache: 4000
|
||||
Exclude:
|
||||
- db/schema.rb
|
||||
NewCops: enable
|
||||
|
||||
#################### Style ###########################
|
||||
|
||||
Layout/HashAlignment:
|
||||
EnforcedHashRocketStyle: table
|
||||
EnforcedColonStyle: table
|
||||
|
||||
##################### Metrics ##################################
|
||||
|
||||
##################### Rails ##################################
|
||||
|
||||
Rails:
|
||||
Enabled: true
|
||||
|
||||
##################### RSpec ##################################
|
||||
|
||||
FactoryBot/AttributeDefinedStatically:
|
||||
Enabled: true
|
||||
|
||||
RSpec/DescribeClass:
|
||||
Exclude:
|
||||
- "spec/views/**/*"
|
||||
- "spec/ability/*"
|
||||
|
||||
Layout/AlignHash:
|
||||
EnforcedHashRocketStyle: table
|
||||
EnforcedColonStyle: table
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue