Releases: textlint-rule/textlint-rule-prh
Releases · textlint-rule/textlint-rule-prh
v6.1.0
v6.0.0
What's Changed
Breaking Changes
This release includes following changes:
- use
export defaultinstead ofmodule.exports - remove
RegExp.prototype.flagspolyfill
I think it has almost no effect on the user.
Dependency Updates
- chore(deps): lock file maintenance by @renovate in #75
- chore(deps): update dependency husky to v4 by @renovate in #71
- chore(deps): update actions/setup-node action to v2 by @renovate in #79
- chore(deps): update dependency lint-staged to v11 by @renovate in #80
- fix(deps): update dependency textlint-rule-helper to ^2.2.0 by @renovate in #81
- fix(deps): update dependency untildify to v4 by @renovate in #63
- chore(deps): update dependency textlint-scripts to v12 by @renovate in #82
- chore(deps): update dependency lint-staged to v12 by @renovate in #85
- docs(README): Change link to the example configuration by @chocoby in #86
- chore(deps): update actions/checkout action to v3 by @renovate in #88
- chore(deps): update actions/setup-node action to v3 by @renovate in #87
- fix(deps): update dependency textlint-rule-helper to ^2.3.0 by @renovate in #91
- chore(deps): update actions/checkout action to v4 by @renovate in #98
- chore(deps): update actions/setup-node action to v4 by @renovate in #101
New Contributors
Full Changelog: 5.3.0...v6.0.0
5.3.0
Bug Fixes
Features
You can check the code's commebt by checkCodeComment options.
Example
{
"rules": {
"prh": {
"checkCodeComment": ["js", "javascript"],
"rulePaths" :["./prh.yml"]
}
}
}Support CodeBlock's comment // and /*.
// $ is jqueryLimitation: It just support JavaScript Code, because I don't found any lang comment parser correctly.
Future Work: #70
5.2.1
5.2.0
5.1.0
Features
Support check* option. #35 #33
checkLink(optional) : CheckLinknode type (default:false)checkBlockQuote(optional) : CheckBlockQuotenode type (default:false)checkEmphasis(optional) : CheckEmphasisnode type (default:false)checkHeader(optional) : CheckHeadernode type (default:true)
5.0.1
5.0.0
4.0.1
4.0.0
Bug Fixes
BREAKING CHANGES
- prh: upgrade prh 3.0 https://github.com/prh/prh/blob/master/CHANGELOG.md#300-2017-05-06
- prh use
/regexp/uby default. - Always add
uflag - some pattern is invalid now.
- prh use