0.0.4 • Published 4 years ago
awesome-readme-lint-double-link v0.0.4
awesome-readme-lint-double-link
Lint double link in awesome readme
Why?
For absence in awesome duplicate link list
Install
$ npm install awesome-readme-lint-double-link
Note: This project is compatible with node v10+
Usage
const awesomeReadmeLintLink = require('awesome-readme-lint-double-link');
const md = `
# awesome you project
## Level 1
### Level 1.1
*Description leve 1.1*
- [text link 1](https://url-link-1) - A description link 1
- [text link 2](https://url-link-2) - A description link 2
- [text link 1](https://url-link-1) - A description link 3
`;
awesomeReadmeLintLink(md, options);
Will show an error in the terminal
ERROR duplicate links found: ✖ https://url-link-1