Security News
vlt Debuts New JavaScript Package Manager and Serverless Registry at NodeConf EU
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
markdownlint-rule-relative-links
Advanced tools
Custom rule for markdownlint to validate relative links.
Custom rule for markdownlint to validate relative links.
markdownlint-rule-relative-links is a markdownlint custom rule to validate relative links.
It ensures that relative links that start with ./
or ../
(or not starting with external protocols like http://
or https://
) are working and not "dead" which means that it exists in the file system of the project that uses markdownlint
.
Related links:
npm install --save-dev markdownlint-rule-relative-links
There are various ways markdownlint
can be configured using objects, config files etc. For more information on markdownlint
configuration refer options.config.
We recommend configuring markdownlint-cli2
over markdownlint-cli
for compatibility with the vscode-markdownlint
plugin.
.markdownlint-cli2.jsonc
{
"config": {
"default": true,
"relative-links": true
},
"globs": ["**/*.{md,mdx}"],
"ignores": ["**/node_modules"],
"customRules": ["markdownlint-rule-relative-links"]
}
package.json
{
"scripts": {
"lint:markdown": "markdownlint-cli2"
}
}
npm run lint:markdown
Anyone can help to improve the project, submit a Feature Request, a bug report or even correct a simple spelling mistake.
The steps to contribute can be found in the CONTRIBUTING.md file.
FAQs
Custom rule for markdownlint to validate relative links.
The npm package markdownlint-rule-relative-links receives a total of 464 weekly downloads. As such, markdownlint-rule-relative-links popularity was classified as not popular.
We found that markdownlint-rule-relative-links demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt introduced its new package manager and a serverless registry this week, innovating in a space where npm has stagnated.
Security News
Research
The Socket Research Team uncovered a malicious Python package typosquatting the popular 'fabric' SSH library, silently exfiltrating AWS credentials from unsuspecting developers.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.