remark-lint-emoji-limit

1.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i remark-lint-emoji-limit

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

59.7 kB

Total Files

6

Last publish

Collaborators

  • zerok