Enable Rubocop Style/NumericLiterals (#23647)
This commit is contained in:
parent
669f6d2c0a
commit
ac59d6f19f
6 changed files with 18 additions and 24 deletions
|
@ -101,6 +101,10 @@ Style/Copyright:
|
|||
Style/HashSyntax:
|
||||
EnforcedStyle: ruby19_no_mixed_keys
|
||||
|
||||
Style/NumericLiterals:
|
||||
AllowedPatterns:
|
||||
- \d{4}_\d{2}_\d{2}_\d{6} # For DB migration date version number readability
|
||||
|
||||
Style/PercentLiteralDelimiters:
|
||||
PreferredDelimiters:
|
||||
'%i': '()'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue