diff options
author | Nick Schonning <nschonni@gmail.com> | 2023-02-17 21:05:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-18 11:05:57 +0900 |
commit | ac59d6f19f00f1503343cd587c4238dc0038127a (patch) | |
tree | b0960d3c19a9cd516242622ff3fe71fc84b48881 /.rubocop.yml | |
parent | 669f6d2c0af969268c76e389ed626bce0cc9f998 (diff) |
Enable Rubocop Style/NumericLiterals (#23647)
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 5278ee38c..eb3fcba43 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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': '()' |