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

Pin remark-lint-maximum-line-length version #12668

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

Alexendoo
Copy link
Member

Pins the remark versions to the ones from before the most recent set of updates which errors on some line lengths that aren't clear how to resolve

Currently blocking CI

changelog: none

@rustbot
Copy link
Collaborator

rustbot commented Apr 11, 2024

r? @xFrednet

rustbot has assigned @xFrednet.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 11, 2024
@@ -24,7 +24,7 @@ jobs:
node-version: '18.x'

- name: Install remark
run: npm install remark-cli remark-lint remark-lint-maximum-line-length remark-preset-lint-recommended remark-gfm
run: npm ci
Copy link
Member

@flip1995 flip1995 Apr 11, 2024

Choose a reason for hiding this comment

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

I don't really like having package.json in the repo just for this. Couldn't you change the npm install command to add the version.

Suggested change
run: npm ci
run: npm install remark-cli remark-lint remark-lint-maximum-line-length@"^3.1.3" remark-preset-lint-recommended remark-gfm

Note the @"^3.1.3" in the suggestion.

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't think mixing old versions of lints with the new remark-lint would work but it seems to be fine so I'll use that

@Alexendoo Alexendoo changed the title Pin remark versions Pin remark-lint-maximum-line-length version Apr 11, 2024
@flip1995
Copy link
Member

Let's try this.

@bors r+

@bors
Copy link
Collaborator

bors commented Apr 11, 2024

📌 Commit fb2e827 has been approved by flip1995

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Apr 11, 2024

⌛ Testing commit fb2e827 with merge dfd41ad...

@bors
Copy link
Collaborator

bors commented Apr 11, 2024

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing dfd41ad to master...

@bors bors merged commit dfd41ad into rust-lang:master Apr 11, 2024
2 checks passed
@xFrednet xFrednet assigned flip1995 and unassigned xFrednet Apr 11, 2024
@Alexendoo Alexendoo deleted the remark-version branch April 11, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants