Skip to content

simplify open_curly_linter using xpath - #1221

Merged
AshesITR merged 2 commits into
mainfrom
cyclo-open-curly
May 25, 2022
Merged

AshesITR merged 2 commits into
mainfrom
cyclo-open-curly

Conversation

@MichaelChirico

@MichaelChirico MichaelChirico commented May 25, 2022 •

Copy link
Copy Markdown
Collaborator

Closes #1220; part of #1186

AshesITR
AshesITR previously approved these changes May 25, 2022

@AshesITR AshesITR left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I can't find the test case "a <- function() { \n}" (only "a <- function() {\n}").
Was that intentional?

@MichaelChirico

Copy link
Copy Markdown
Collaborator Author

LGTM, but I can't find the test case "a <- function() { \n}" (only "a <- function() {\n}"). Was that intentional?

I guess we should keep that in, just changing it to a true negative

@AshesITR
AshesITR merged commit 2040068 into main May 25, 2022
@AshesITR
AshesITR deleted the cyclo-open-curly branch May 25, 2022 06:17
@AshesITR AshesITR mentioned this pull request May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop lint for trailing whitespace after { ?

2 participants