-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conversation
.github/workflows/remark.yml
Outdated
@@ -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 |
There was a problem hiding this comment.
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.
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.
There was a problem hiding this comment.
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
e585dbe
to
fb2e827
Compare
remark-lint-maximum-line-length
version
Let's try this. @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
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