textlint-rule-ja-no-space-around-parentheses

2.3.1 • Public • Published

textlint-rule-ja-no-space-around-parentheses

かっこ類と隣接する文字のスペースについてのtextlintルール

かっこの外側、内側ともにスペースを入れません。

OK: 「良いですね」
NG: 「 ダメですね 」

かっことして次の記号を扱います。

[]()[]「」『』

Install

Install with npm:

npm install textlint-rule-ja-no-space-around-parentheses

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "ja-no-space-around-parentheses": true
    }
}

Via CLI

textlint --rule ja-no-space-around-parentheses README.md

Fixable

textlint rule

textlint --fixの自動修正に対応しています。

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm i -d && npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

Dependents (5)

Package Sidebar

Install

npm i textlint-rule-ja-no-space-around-parentheses

Weekly Downloads

17,881

Version

2.3.1

License

MIT

Unpacked Size

10.7 kB

Total Files

5

Last publish

Collaborators

  • azu
  • shirayu
  • takahashim
  • textlint-user
  • hata6502