Releases: textlint-rule/textlint-rule-sentence-length
Releases · textlint-rule/textlint-rule-sentence-length
v5.2.0
v5.0.0
v4.0.2
v4.0.1
v4.0.0
v3.0.1
v3.0.0
Features
v3.0.0 allow following URL string link by default.
Very long <https://example.com?longlonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglonglong> URL.
You can configure it by skipUrlStringLink
options.
BREAKING CHANGES
- skip to count of url string link by default
- Deprecated
exclusionPatterns
and useskipPatterns
instead of it - Add
skipUrlStringLink
and Enable it by default
Migration from v2
If you want to get the same behavior to v2, update the package and put the following settings.
{
"rules": {
"sentence-length": {
"max": 100,
- "exclusionPatterns": [
+ "skipPatterns": [
"/\\(.*\\)$\\./"
],
+ "skipUrlStringLink": false
}
}
}