Fix rubocop warning (#14288)
* Fix rubocop warning * use limit variable * use ContextCreatingMethods option
This commit is contained in:
parent
a8e84a18f1
commit
6a96af4d20
8 changed files with 12 additions and 7 deletions
|
@ -28,6 +28,10 @@ Layout/EmptyLineAfterMagicComment:
|
|||
Layout/SpaceInsideHashLiteralBraces:
|
||||
EnforcedStyle: space
|
||||
|
||||
Lint/UselessAccessModifier:
|
||||
ContextCreatingMethods:
|
||||
- class_methods
|
||||
|
||||
Metrics/AbcSize:
|
||||
Max: 100
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue