JSPM

remark-lint-double-link

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 681
  • Score
    100M100P100Q105828F
  • License MIT

Remark plugin lint double link

Package Exports

  • remark-lint-double-link

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (remark-lint-double-link) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

remark-lint-double-link

This remark-lint rule ensures that there will be no duplicate links in the list

Actions Statusnodenpm versionDependency StatusXO code styleCoveralls status

npm downloadsnpmPackage Quality

Why?

For absence in awesome duplicate link list

<!-- Invalid -->

[link](http://link-1)
[link](http://link-1)

<!-- Valid -->

[link](http://link-1)

Using the rule

Via .remarkrc

npm install -g remark-cli
npm install remark-lint remark-lint-alphabetize-lists

Then, set up your .remarkrc:

{
  "plugins": [
    "lint",
    "lint-double-link"
  ]
}

Now you can use the following command to run the lint:

remark xxx.md

Via CLI

npm install -g remark-cli
npm install remark-lint remark-lint-double-link
remark -u lint -u lint-double-link xxx.md