Open
Conversation
e525881 to
ba48b12
Compare
ba48b12 to
1064e3f
Compare
1064e3f to
b69ef50
Compare
b69ef50 to
76aa4e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^11.0.0→^12.0.0^5.0.0→^6.0.0^6.0.0→^7.0.0^12.0.0→^13.0.0Release Notes
remarkjs/remark (remark-cli)
v12.0.1Compare Source
963292fChangemasterin links63888afUpdate sponsorsv12.0.0Compare Source
(see
15.0.0)remarkjs/remark-lint (remark-preset-lint-consistent)
v6.0.1Compare Source
v6.0.0Compare Source
Hi! 👋
With 6.0.0, rules are no longer in the
remark-lintpackage. In fact, remark lint doesn’t do much, other than controlling messages.Rules are now each in their own package. You don’t have to
npm installand.use()each package though, you can install and use presets instead. If you find yourself installing many rules to update, maybe create a preset too?By giving more power to presets over the remark-lint package itself, I think rules, especially external rules, will prosper!
First off, if “presets” changed, the below diff shows how you can update:
"dependencies": { "remark-cli": "^0.0.0", "remark-lint": "^0.0.0", "remark-preset-lint-consistent": "^0.0.0", // ... }, "remarkConfig": { - "presets": ["lint-consistent"] + "plugins": ["preset-lint-consistent"] }Second, if you used
remark-lintdirectly, you need to change your config as follows."dependencies": { "remark-cli": "^0.0.0", "remark-lint": "^0.0.0", + "remark-lint-unordered-list-marker-style": "^0.0.0", + "remark-lint-list-item-bullet-indent": "^0.0.0", + "remark-lint-no-multiple-toplevel-headings": "^0.0.0", + "remark-lint-maximum-line-length": "^0.0.0", + "remark-lint-maximum-heading-length": "^0.0.0", + "remark-lint-no-tabs": "^0.0.0", // ... }, "remarkConfig": { - "plugins": { - "remark-lint": { - "unordered-list-marker-style": "consistent", - "list-item-bullet-indent": true, - "no-multiple-toplevel-headings": true, - "maximum-line-length": 9000, - "maximum-heading-length": 300, - "no-tabs": true, - // ... - } + "plugins": [ + "remark-lint", + ["remark-lint-unordered-list-marker-style", "consistent"], + "remark-lint-list-item-bullet-indent", + "remark-lint-no-multiple-toplevel-headings", + ["remark-lint-maximum-line-length", 9000], + ["remark-lint-maximum-heading-length", 300], + "remark-lint-no-tabs", + // ... + ]Finally, if you use remark on the API, change your code as follows:
var remark = require('remark'); var lint = require('remark-lint'); +var unorderedListMarkerStyle = require('remark-lint-unordered-list-marker-style'); +var listItemBulletIndent = require('remark-lint-list-item-bullet-indent'); +var noMultipleToplevelHeadings = require('remark-lint-no-multiple-toplevel-headings'); remark() - .use(lint, { - unorderedListMarkerStyle: 'consistent', - listItemBulletIndent: true, - noMultipleToplevelHeadings: true - maximumLineLength: false - }) + .use(lint) + .use(unorderedListMarkerStyle, 'consistent') + .use(listItemBulletIndent) + .use(noMultipleToplevelHeadings) // ...remarkjs/remark-validate-links (remark-validate-links)
v13.1.0Compare Source
Add
2d49761AddskipPathPatternsFull Changelog: remarkjs/remark-validate-links@13.0.2...13.1.0
v13.0.2Compare Source
Fix
4791865Fix support for absolute paths on GitHubTypes
ac9a800Refactor to use@importsFull Changelog: remarkjs/remark-validate-links@13.0.1...13.0.2
v13.0.1Compare Source
2b4cc25Fix misclassified type dependencyFull Changelog: remarkjs/remark-validate-links@13.0.0...13.0.1
v13.0.0Compare Source
Change
39c7e22Change to require Node.js 16migrate: update too
7c75796Change to useexportsmigrate: don’t use private APIs
c81c6abUpdate@types/mdast, utilities, etcmigrate: update too
323908a7ac7d02Change to improve messagesmigrate: expect better messages
Full Changelog: remarkjs/remark-validate-links@12.1.1...13.0.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.