chore(deps): update dependency textlint-rule-ja-no-redundant-expression to v4
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| textlint-rule-ja-no-redundant-expression | 2.0.0 -> 4.0.1 |
Release Notes
textlint-ja/textlint-rule-ja-no-redundant-expression
v4.0.1
Fixes
- fix(dict1): 推奨の修正内容の変更 by mongolyy · Pull Request #32 · textlint-ja/textlint-rule-ja-no-redundant-expression by @mongolyy
v4.0.0
Summary
Update to kuromojin@3 and improve analysis.
Fixes
-
deps: update to kuromojin@3 (#29) (3756dd2)
- Update to kuromojin@3
- refs https://github.com/azu/kuromojin/issues/8
v3.0.2
v3.0.1
Bug Fixes
- rule: Codeをデフォルトで無視するように (a25e415)
v3.0.0
Summary
- ルールがより一般的な表現にマッチするようになりました(今までは特定の単語にマッチする範囲を限定していました)
- "[サ変名詞]を行う" と "[サ変名詞]を実行"を冗長な表現として認識する辞書が追加されました。
- それぞれの辞書(
dict1からdict6)を無効化や例外表現をオプションとして指定できるようになりました
Thanks to @shirayu
Features
- rule: より一般的なルールに変更・追加 #6
- rule: 読点の挿入,"可能"の類似表現に対応 #11
-
rule:
allowNodeTypesオプションを追加 #13 - rule: add "disabled" and "allows" for each dict item #15
v2からv3へのマイグレーション
検出できる対象が増えるので、おそらくv2からv3へアップデートすると検出できるエラーが増えると思います。
次のルールは新規で追加されたものとなります。
例) dict5: [サ変名詞]を行う プラグインの追加を行う -> プラグインを追加する
- dict5: "[サ変名詞]を行う"
- dict6: "[サ変名詞]を実行"
v2相当の辞書にしたい場合は、dict5とdict6を無効化すると大体同じ程度になります。
{
"rules": {
"ja-no-redundant-expression": {
"dictOptions": {
"dict5": {
"disabled": true
},
"dict6": {
"disabled": true
}
}
}
}
}
dict5とdict6にフィードバックがありましたら、Issueなどでお知らせください。 また誤検知などがありましたら、Issueを作成してください。
このアップデートを適応した書き換え例は次のPull Reuqestで見られます。
- refactor(textlint): textlint-rule-ja-no-redundant-expressionの検知を元に修正 by azu · Pull Request #614 · asciidwango/js-primer
- fix(textlint): add [email protected] by azu · Pull Request #128 · azu/JavaScript-Plugin-Architecture
All Commmits
Bug Fixes
- dict2: fixで"[助詞]"が省略されない問題を修正 (8ff730e)
- dict2: 助詞が「が」の場合のみ自動修正する (5fed776)
- dictionary: "処理を{行う,実行}"をデフォルトで許可する (6b1f136)
- dictionary: fix "これは大切であると考えています" (#14) (52fac9b), closes #4
- dictionary: toolsから参照するのでCommonJSモジュールに変更 (0c3eafb)
- README: Escape symbols to fix README (#12) (c7d9277)
Features
Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.