remark-lint-emoji-limit
v1.0.1
Published
Only at most one emoji per paragraph.
Downloads
13
Readme
remark-lint-emoji-limit
This rule for remark-lint enforces that there is at most one emoji in each paragraph:
{
"plugins": [
"remark-preset-lint-recommended",
"remark-lint-emoji-limit"
]
}
If you want to set the limit higher, you can do so by setting a max
property
accordingly:
{
"plugins": [
// ...
["remark-lint-emoji-limit", ["warn", {
"max": 2
}]]
]
}
This would allow for up to two emojis per paragraph.