
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
remark-lint-no-reference-like-url
Advanced tools
remark-lint rule to warn when URLs are also defined identifiers
Warn when URLs are also defined identifiers.
This rule is not included in any default preset
ok.md
[Alpha](http://example.com).
[bravo]: https://example.com
No messages.
not-ok.md
[Charlie](delta).
[delta]: https://example.com
1:1-1:17: Did you mean to use `[delta]` instead of `(delta)`, a reference?
This package is ESM only:
Node 12+ is needed to use it and it must be imported
ed instead of required
d.
npm:
npm install remark-lint-no-reference-like-url
This package exports no identifiers.
The default export is remarkLintNoReferenceLikeUrl
.
You probably want to use it on the CLI through a config file:
…
"remarkConfig": {
"plugins": [
…
"lint",
+ "lint-no-reference-like-url",
…
]
}
…
Or use it on the CLI directly
remark -u lint -u lint-no-reference-like-url readme.md
Or use this on the API:
import {remark} from 'remark'
import {reporter} from 'vfile-reporter'
import remarkLint from 'remark-lint'
import remarkLintNoReferenceLikeUrl from 'remark-lint-no-reference-like-url'
remark()
.use(remarkLint)
+ .use(remarkLintNoReferenceLikeUrl)
.process('_Emphasis_ and **importance**')
.then((file) => {
console.error(reporter(file))
})
See contributing.md
in remarkjs/.github
for ways
to get started.
See support.md
for ways to get help.
This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.
FAQs
remark-lint rule to warn when URLs are also defined identifiers
The npm package remark-lint-no-reference-like-url receives a total of 27,099 weekly downloads. As such, remark-lint-no-reference-like-url popularity was classified as popular.
We found that remark-lint-no-reference-like-url demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.