Rubocop rules

This commit is contained in:
Nedim
2025-02-17 19:12:40 +01:00
parent ef01db0700
commit ee89170c32
42 changed files with 1043 additions and 267 deletions

26
.rubocop/local.yml Normal file
View 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