You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For hashes where keys are mixed, wouldn't having a consistent key structure be more readable than be forced to use symbols for some keys and strings for the rest -
…to require all symbol keys in a hash to use the same convention.
The `consistent` style works the same as the previous default style (now called `strict`), in that symbol conversions should be explicit. However, in the case of a hash with a mix of symbol keys requiring quoting and not, this style now enforces that all keys are quoted for consistency.
…ire all symbol keys in a hash to use the same convention.
The `consistent` style works the same as the previous default style (now called `strict`), in that symbol conversions should be explicit. However, in the case of a hash with a mix of symbol keys requiring quoting and not, this style now enforces that all keys are quoted for consistency.
Is your feature request related to a problem? Please describe.
For hashes where keys are mixed, wouldn't having a consistent key structure be more readable than be forced to use symbols for some keys and strings for the rest -
raises a
Lint/SymbolConversion
violation.Describe the solution you'd like
No violations for:
(OR)
violates for :
The text was updated successfully, but these errors were encountered: