Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kazupon/textlint-rule-no-period-on-paragraph-end

textlint rule for no period on paragraph end
https://github.com/kazupon/textlint-rule-no-period-on-paragraph-end

rule textlint textlintrule

Last synced: 2 months ago
JSON representation

textlint rule for no period on paragraph end

Awesome Lists containing this project

README

        

# 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](https://www.npmjs.com/):

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

## 🚀 Usages

Via `.textlintrc.json`(Recommended):

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

Via CLI

```sh
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](/CONTRIBUTING.md) here. You'll find all the relevant information such as [how to make a PR](/CONTRIBUTING.md#pull-request-guidelines), [how to setup development](/CONTRIBUTING.md#development-setup)) etc., there.

## Šī¸ License

[MIT](http://opensource.org/licenses/MIT)