textlint-rule-ban-links
v1.0.0
Published
This rule bans links with URLs of the specified patterns.
Readme
textlint-rule-ban-links
This rule bans links with URLs of the specified patterns.
Install
Install with npm:
npm install textlint-rule-ban-linksUsage
Via .textlintrc(Recommended)
{
"rules": {
"ban-links": {
// configure as you like
patterns: ["^https?://localhost", "^C:", "/$"]
}
}
}Via CLI
textlint --rule ban-links README.mdBuild
Builds source codes for publish to the lib folder.
You can write ES2015+ source codes in src/ folder.
npm run buildTests
Run test code in test folder.
Test textlint rule by textlint-tester.
npm testLicense
MIT © tee-talog
