textlint-rule-ban-links

1.0.0 • Public • Published

textlint-rule-ban-links

This rule bans links with URLs of the specified patterns.

Install

Install with npm:

npm install textlint-rule-ban-links

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "ban-links": {
            // configure as you like
            patterns: ["^https?://localhost", "^C:", "/$"]
        }
    }
}

Via CLI

textlint --rule ban-links README.md

Build

Builds source codes for publish to the lib folder. You can write ES2015+ source codes in src/ folder.

npm run build

Tests

Run test code in test folder. Test textlint rule by textlint-tester.

npm test

License

MIT © tee-talog

/textlint-rule-ban-links/

    Package Sidebar

    Install

    npm i textlint-rule-ban-links

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.85 kB

    Total Files

    5

    Last publish

    Collaborators

    • tee-talog