Rubocop rules
This commit is contained in:
26
.rubocop/local.yml
Normal file
26
.rubocop/local.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
# Repository individual configurations
|
||||
|
||||
Metrics/BlockLength:
|
||||
Exclude:
|
||||
- config/routes.rb
|
||||
- Gemfile
|
||||
Naming/VariableNumber:
|
||||
Enabled: true
|
||||
AllowedIdentifiers: [
|
||||
'street_1',
|
||||
'street_2',
|
||||
'ship_to_address_line_1',
|
||||
'ship_to_address_line_2',
|
||||
'ship_to_address_line_3',
|
||||
'shipping_point_address_line_1',
|
||||
'shipping_point_address_line_2',
|
||||
'shipping_point_address_line_3',
|
||||
]
|
||||
Lint/MissingSuper:
|
||||
AllowedParentClasses: [
|
||||
'Bazaarvoice::BaseService',
|
||||
'BaseService'
|
||||
]
|
||||
Rails/DynamicFindBy:
|
||||
Whitelist:
|
||||
- find_by_ums_guid
|
||||
Reference in New Issue
Block a user