Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@textlint-ja/textlint-rule-no-insert-dropping-sa

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textlint-ja/textlint-rule-no-insert-dropping-sa

サ抜き、サ入れ表現の誤用をチェックするtextlintルール

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
5
Created
Source

textlint-rule-no-insert-dropping-sa Actions Status: test

サ抜き、サ入れ表現の誤用をチェックするtextlintルール

「さ」を余計にいれている、逆に「さ」が抜けている文をチェックするtextlintルールです。

img

新規サ抜き・サ入れ表現から見る誤用と正用の分析 - 寺﨑知之より引用。

時代によって「さ」の有無が変化する単語もあるため、このルールはある種の感覚的な類推が含まれています。

OK:

今年はたいそう良いことがあった。
言わさせていただきます
今日は暖かさそう。
色々考えましたが一番いいのは食べなさそうな観葉植物にする
一生お金に困らなさそうな人ってどんなイメージの人ですか
大尉はいかにもすまなさそうに言った
大尉はいかにもすまなそうに言った

NG:

早く終わらせて帰りたさそうなのがおかしかった。
薫と巽さんがチョコを食べたさそうにしてたから、仕方なくほんの少しだけ分けてあげたから
刺し身をたべたさそう。
寿司が美味しさそう。
辛さそうな様子だ。
これは問題無そう。
芸術性なんてとても関係無そう。
これは良そう

Install

Install with npm:

npm install @textlint-ja/textlint-rule-no-insert-dropping-sa

Usage

Via .textlintrc(Recommended)

{
    "rules": {
        "@textlint-ja/textlint-rule-no-insert-dropping-sa": true
    }
}

Via CLI

textlint --rule @textlint-ja/textlint-rule-no-insert-dropping-sa README.md

元ネタ

を元にしたtextlintルールです。

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.

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

Author

License

MIT © azu

Keywords

textlintrule

FAQs

Package last updated on 24 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts