textlint rule that disallow zero width spaces.
1:1 error Zero width space is disallowed. no-zero-width-spaces
Install with npm:
npm install textlint-rule-no-zero-width-spaces
Via .textlintrc
(Recommended)
{
"rules": {
"no-zero-width-spaces": true
}
}
Via CLI
textlint --rule no-zero-width-spaces README.md
Builds source codes for publish to the lib
folder.
You can write ES2015+ source codes in src/
folder.
npm run build
Run test code in test
folder.
Test textlint rule by textlint-tester.
npm test
MIT © Tomoyuki Hata