textlint-rule-no-mix-dearu-desumasu
textlint-rule-no-mix-dearu-desumasu copied to clipboard
textlint rule that check no mix である and ですます.
これは誤判定なのでは、どういうケースを書き込む場所です。 ご気軽に書き込んで下さい。 書き込む際は、"no-mix-dearu-desumasu"のオプション設定も一緒にご記入下さい。 ``` js "no-mix-dearu-desumasu": { "preferInHeader": "", // "である" or "ですます" "preferInBody": "ですます",// "である" or "ですます" "preferInList": "である", // "である" or "ですます" // 文末以外でも、敬体(ですます調)と常体(である調)を厳しくチェックするかどうか "strict": true } ```
機械的に直すのは難しいので、READMEに修正例を載せていきたい。 Lintの結果を元に(そうでなくても問題ない)、修正したコミットへのリンクがあったらコメントに書いて欲しい - 判定の実装: https://github.com/azu/analyze-desumasu-dearu コミット以外にも参考リンクや文法の解説についての参考サイトも募集中