-
Notifications
You must be signed in to change notification settings - Fork 193
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Description
The curly braces linter wants a newline after an opening curly brace, not accepting comments there.
Example
if ("P" != "NP") { # what most people expect
print("Cryptomania is possible")
} else { # what would make a lot of people sad
print("we live in Algorithmica")
}
lintr output:
R\test.R:7:22: style: Opening curly braces should never go on their own line and should always be followed by a new line.
if ("P" != "NP") { # what most people expect
^
R\test.R:9:12: style: Opening curly braces should never go on their own line and should always be followed by a new line.
} else { # what would make a lot of people sad
achubaty, privefl, prosoitos and Torvaney
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement