Skip to content

Add new eslint rule to prevent whitespace before function call paren - #97286

Merged
bors merged 1 commit into
rust-lang:masterfrom
GuillaumeGomez:eslint-check-fn
May 23, 2022
Merged

Add new eslint rule to prevent whitespace before function call paren#97286
bors merged 1 commit into
rust-lang:masterfrom
GuillaumeGomez:eslint-check-fn

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

It prevents foo () basically. :)

r? @notriddle

@GuillaumeGomezGuillaumeGomez added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-rustdoc-js Area: Rustdoc's JS front-end labels May 22, 2022
@rust-highfive

Copy link
Copy Markdown
Contributor

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez,@Folyd,@jsha

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 22, 2022
@notriddle

Copy link
Copy Markdown
Contributor

I guess.

Maybe you could make your PRs with more lint additions at once? Or is this expected to be the last one?

@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

I'm adding them slowly to make reviews simpler. I tend to add multiple at once when they have no impact on code. I go through the eslint lint list and check them. I can make bigger PRs if you're okay with it though.

@notriddle

Copy link
Copy Markdown
Contributor

It’s okay. I just noticed that a few of these didn’t have any impact on code, so they definitely could’ve been merged all at once.

@bors r+ rollup=always

@bors

bors commented May 23, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 399299f has been approved by notriddle

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 23, 2022
@GuillaumeGomez

Copy link
Copy Markdown
MemberAuthor

Okay, I'll group more of them at once so there are less PRs.

@Dylan-DPCDylan-DPC mentioned this pull request May 23, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request May 23, 2022
Rollup of 4 pull requests
Successful merges:
- rust-lang#96129 (Document rounding for floating-point primitive operations and string parsing)
- rust-lang#97286 (Add new eslint rule to prevent whitespace before function call paren)
- rust-lang#97292 (Lifetime variance fixes for rustc)
- rust-lang#97309 (Add some regression tests for rust-lang#90400)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 215722b into rust-lang:masterMay 23, 2022
@rustbotrustbot added this to the 1.63.0 milestone May 23, 2022
@GuillaumeGomez
GuillaumeGomez deleted the eslint-check-fn branch May 23, 2022 19:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustdoc-jsArea: Rustdoc's JS front-endS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@GuillaumeGomez@rust-highfive@notriddle@bors@rustbot