Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete else_same_line_linter and merge it into brace_linter #1093

Merged
merged 2 commits into from
Apr 26, 2022

Conversation

AshesITR
Copy link
Collaborator

@AshesITR AshesITR commented Apr 25, 2022

Based against #1092, part of #1041

@AshesITR AshesITR force-pushed the feature/brace_linter-01-else_same_line branch 2 times, most recently from b7a3d8d to 0c985fa Compare April 25, 2022 16:33
AshesITR and others added 2 commits April 26, 2022 21:40
* delete function_brace_linter and merge it into brace_linter

* delete if_else_match_braces_linter and merge it into brace_linter (#1095)

* delete if_else_match_braces_linter and merge it into brace_linter

* deprecate open_curly_linter and merge it into brace_linter (#1096)

* deprecate open_curly_linter

 - remove open_curly_linter from defaults
 - refactor to XPath based approach
 - no longer lint trailing whitespace (there's a separate linter for that)

* merge paren_brace_linter into brace_linter (#1097)

* deprecate paren_brace_linter

 - remove paren_brace_linter from defaults
 - extend to else{ and repeat{

* `code`

Co-authored-by: Michael Chirico <[email protected]>

* add explicit test for different behaviour compared to closed_curly_linter

Co-authored-by: Michael Chirico <[email protected]>

Co-authored-by: Michael Chirico <[email protected]>

Co-authored-by: Michael Chirico <[email protected]>
@AshesITR AshesITR force-pushed the feature/brace_linter-01-else_same_line branch from 875a406 to 85fd375 Compare April 26, 2022 19:41
@AshesITR AshesITR merged commit b1f1dd8 into feature/brace_linter Apr 26, 2022
@AshesITR AshesITR deleted the feature/brace_linter-01-else_same_line branch April 26, 2022 20:54
MichaelChirico added a commit that referenced this pull request Apr 26, 2022
* create brace_linter based on XPath

 - deprecate closed_curly_linter
 - add brace_linter to defaults instead of closed_curly_linter
 - add breaking change to NEWS

* fix missing newline, update warning tests for semicolon_terminator_linter

* test for closed_curly_linter warning and make tests more silent

* remove c_style_braces for now

* document()

* allow ]}, update NEWS, incorporate feedback, fix lint

* delete else_same_line_linter and merge it into brace_linter (#1093)

* delete else_same_line_linter and merge it into brace_linter

* delete function_brace_linter and merge it into brace_linter (#1094)

* delete function_brace_linter and merge it into brace_linter

* delete if_else_match_braces_linter and merge it into brace_linter (#1095)

* delete if_else_match_braces_linter and merge it into brace_linter

* deprecate open_curly_linter and merge it into brace_linter (#1096)

* deprecate open_curly_linter

 - remove open_curly_linter from defaults
 - refactor to XPath based approach
 - no longer lint trailing whitespace (there's a separate linter for that)

* merge paren_brace_linter into brace_linter (#1097)

* deprecate paren_brace_linter

 - remove paren_brace_linter from defaults
 - extend to else{ and repeat{

* `code`

Co-authored-by: Michael Chirico <[email protected]>

* add explicit test for different behaviour compared to closed_curly_linter

Co-authored-by: Michael Chirico <[email protected]>

Co-authored-by: Michael Chirico <[email protected]>

Co-authored-by: Michael Chirico <[email protected]>

Co-authored-by: Michael Chirico <[email protected]>

Co-authored-by: Michael Chirico <[email protected]>
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.

2 participants