Apply Layout/RedundantLineBreak rule to short lines
We're not adding the rule because it would apply the current line length rule of 110 characters per line. We still haven't decided whether we'll keep that rule or make lines shorter so they're easier to read, particularly when vertically splitting the editor window. So, for now, I'm applying the rule to lines which are about 90 characters long.
This commit is contained in:
@@ -15,8 +15,7 @@ describe LocalesHelper do
|
||||
end
|
||||
|
||||
it "returns the language name in i18n.language.name translation" do
|
||||
keys = { language: {
|
||||
name: "World Language" }}
|
||||
keys = { language: { name: "World Language" }}
|
||||
|
||||
I18n.backend.store_translations(:wl, { i18n: keys })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user