mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-13 16:04:58 +00:00
Code tidying with Rubocop
This commit is contained in:
@@ -128,6 +128,12 @@ Style/EndlessMethod:
|
||||
Style/FormatString:
|
||||
EnforcedStyle: sprintf
|
||||
|
||||
# Prefer sprintf("%s", "Hello") over sprintf("%<greeting>s", greeting: "Hello")
|
||||
# because it should be easy enough to see which token is which, and it saves
|
||||
# space.
|
||||
Style/FormatStringToken:
|
||||
EnforcedStyle: unannotated
|
||||
|
||||
# String literals are not frozen by default, which makes this comment a
|
||||
# pointless bit of boilerplate that we neither need nor want.
|
||||
Style/FrozenStringLiteralComment:
|
||||
|
||||
Reference in New Issue
Block a user