textlint-rule-no-period-on-paragraph-end

textlint rule for no period on paragraph end

1
0
1
11
TypeScript
public

textlint-rule-no-period-on-paragraph-end

textlint rule for no period on paragraph end

๐Ÿ“– Rule Details

This rule does not allow punctuation at the end of a paragraph. This use case is used, for example, when you want to express rhythm or lingering phrases in a sentence, such as in the Japanese word โ€œไฝ“่จ€ๆญขใ‚โ€(ending a sentence with a noun).

โŒ NG

This is simple paragraph.

This paragraph has multiple sentences. First sentence is here. And the last sentence is here.

ใ“ใ‚Œใฏใ‚ทใƒณใƒ—ใƒซใชๆฎต่ฝใ€‚

ใ“ใฎๆฎต่ฝใซใฏ่ค‡ๆ•ฐใฎๆ–‡ใŒใ‚ใ‚‹ใ€‚ใ“ใ‚ŒใŒๆœ€ๅˆใ€ใใ—ใฆใ“ใ‚ŒใŒๆœ€ๅพŒใฎๆ–‡ใ€‚

โœ… OK

This is simple paragraph

This paragraph has multiple sentences. First sentence is here. And the last sentence is here

ใ“ใ‚Œใฏใ‚ทใƒณใƒ—ใƒซใชๆฎต่ฝ

ใ“ใฎๆฎต่ฝใซใฏ่ค‡ๆ•ฐใฎๆ–‡ใŒใ‚ใ‚‹ใ€‚ใ“ใ‚ŒใŒๆœ€ๅˆใ€ใใ—ใฆใ“ใ‚ŒใŒๆœ€ๅพŒใฎๆ–‡

๐Ÿ’ฟ Installlation

Install with npm:

npm install textlint-rule-no-period-on-paragraph-end

๐Ÿš€ Usages

Via .textlintrc.json(Recommended):

{
  "rules": {
    "no-period-on-paragraph-end": true
  }
}

Via CLI

textlint --rule no-period-on-paragraph-end README.md

๐Ÿ™Œ Contributing guidelines

If you are interested in contributing to textlint-rule-no-period-on-paragraph-end, I highly recommend checking out the contributing guidelines here. Youโ€™ll find all the relevant information such as how to make a PR, how to setup development) etc., there.

ยฉ๏ธ License

MIT

v0.3.3[beta]