
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
textlint-rule-preset-smarthr
Advanced tools
SmartHRらしい文書を書くための、textlintルールプリセットを提供します。
Install with pnpm:
pnpm install textlint-rule-preset-smarthr
Via .textlintrc(Recommended)
textlint --rule preset-smarthr README.md
ソースコードをビルドして、libフォルダに公開します。
TypeScriptのソースコードはsrc/フォルダに書くことができます。
pnpm run build
testフォルダ内のテストコードを実行します。
testの詳細はtextlint-testerを参照してください。
pnpm test
すべてのルールを有効化して使う場合は、次のように設定してください。
{
"rules": {
"preset-smarthr": true
}
}
デフォルトでは、次のような設定になっています。個別にルールを有効・無効化することも可能です。
{
"rules": {
"preset-smarthr": {
"prh-rules": true,
"ja-no-mixed-period": true,
"no-hankaku-kana": true,
"@textlint-rule/no-unmatched-pair": true,
"sentence-length": {
"max": 120
},
"no-doubled-conjunctive-particle-ga": true,
"no-double-negative-ja": true,
"ja-no-abusage": true,
"ja-no-redundant-expression": true,
"no-mixed-zenkaku-and-hankaku-alphabet": true,
"ja-keishikimeishi": {
"detection_hou_kata" : false,
"detection_ue" : false
},
"ja-hiragana-fukushi": true,
"ja-hiragana-hojodoushi": true,
"ja-hiragana-daimeishi": true,
"ja-no-space-around-parentheses": true,
"ja-no-space-between-full-width": true,
"ja-space-between-half-and-full-width": {
"space": "never"
},
"ja-space-after-exclamation": true,
"ja-space-after-question": true,
"ja-space-around-code": false,
"no-nfd": true
}
}
}
補足1: textlint-rule-preset-ja-spacingのルールプリセットを分解して設定しています。
表記ゆれ修正用の辞書の設定にはtextlint-rule-prhを使っています。
対応用語はdict/フォルダに入っている.ymlを確認してください。
MIT
FAQs
SmartHRらしい文書を書くための、textlintルールプリセットを提供します。
The npm package textlint-rule-preset-smarthr receives a total of 12,082 weekly downloads. As such, textlint-rule-preset-smarthr popularity was classified as popular.
We found that textlint-rule-preset-smarthr demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 25 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.