Skip to content

v6.0.2

Latest
Compare
Choose a tag to compare
@azu azu released this 01 Jan 01:43
· 3 commits to master since this release
8e3c5e6

What's Changed

Bug Fixes

  • fix: add validation to preferIn option by @azu in #45
{
    "rules": {
        "no-mix-dearu-desumasu": {
             "preferInHeader": "", // "である" or "ですます"
             "preferInBody": "ですます",// "である" or "ですます"
             "preferInList": "である",    // "である" or "ですます"
             // 文末以外でも、敬体(ですます調)と常体(である調)を厳しくチェックするかどうか
             "strict": false
         }
    }
}

"" or "である" or "ですます" 以外の指定は不正な値なので、バリデーションでエラーとするようにしました。

Full Changelog: v6.0.1...v6.0.2