@0x6b/textlint-rule-no-emoji
v0.4.0
Published
textlint rule which detects and reports emoji characters in the document.
Readme
textlint-rule-no-emoji
textlint rule which detects and reports emoji characters in your document.
This rule uses the emoji-regex package to identify all emoji characters as per the Unicode Standard.
Install
Install with pnpm:
pnpm add @0x6b/textlint-rule-no-emojiOr with npm:
npm install @0x6b/textlint-rule-no-emojiThis module requires Node.js >= 20.0.0.
Usage
Via .textlintrc(recommended):
{
"rules": {
"@0x6b/no-emoji": true
}
}Via CLI:
textlint --rule @0x6b/no-emoji README.mdBuild
Builds source codes for publish to the lib/ folder.
pnpm install && pnpm run buildTest
Run test code in test folder by textlint-tester.
pnpm testReferences
- emoji-regex - Regular expression to match all Emoji-only symbols
- Unicode Emoji Standard
License
MIT © 0x6b
