textlint-rule-no-double-negative-ja

2.0.1 • Public • Published

textlint-rule-no-double-negative-ja Actions Status: test

二重否定 を検出するtextlintルールです。

✘ それが事件の発端だったといえなくもない。

二重否定: 〜なくもない

✘ 確かにそういった懸念はない事はない。

二重否定: 〜ないことはない

などの二重否定を検出することができます。

二重否定の用法については、<研究論文>二重否定表現「~なくは/もない」「~ないでも/はない」「~ないことは/もない」「~ないものでは/もない」の使い分けを巡ってを参照してください。

Installation

npm install textlint-rule-no-double-negative-ja

Usage

インストール後、.textlintrc以下を追加します。

{
    "rules"
:
    {
        "no-double-negative-ja"
    :
        true
    }
}

Tests

npm test

参考文献

Contributing

  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

License

MIT

Dependents (14)

Package Sidebar

Install

npm i textlint-rule-no-double-negative-ja

Weekly Downloads

20,311

Version

2.0.1

License

MIT

Unpacked Size

64.1 kB

Total Files

30

Last publish

Collaborators

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