Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
textlint-rule-ja-space-between-half-and-full-width
Advanced tools
半角文字と全角文字のスペースについてのtextlintルール
半角文字と全角文字にスペースを入れるかどうかを指定できます。
デフォルトでは、半角文字と全角文字の間にスペースを入れません。("never"
)
OK: これはUnicode
NG: これは Unicode
全角文字には、句読点(、。)も含まれていますがデフォルトでは、exceptPunctuation: true
であるため無視されます。
OK: これも、Unicode。
Install with npm:
npm install textlint-rule-ja-space-between-half-and-full-width
Via .textlintrc
(Recommended)
{
"rules": {
"ja-space-between-half-and-full-width": {
"space": "never"
}
}
}
Via CLI
textlint --rule ja-space-between-half-and-full-width README.md
space
: "always"
|| "never"
"never"
"always"
) or 入れない("never"
)exceptPunctuation
: boolean
true
lintStyledNode
: boolean
false
{
"rules": {
"ja-space-between-half-and-full-width": {
"space": "always"
}
}
}
exceptPunctuation: true
とした場合は、句読点に関しては無視されるようになります。
スペースは必須だが、日本語、[alphabet]。
は許可する
text: "これは、Exception。",
options: {
space: "always",
exceptPunctuation: true
}
スペースは不要だが、日本語、 [alphabet] 。
は許可する。
text: "これは、 Exception 。",
options: {
space: "never",
exceptPunctuation: true
}
See Releases page.
Install devDependencies and Run npm test
:
npm i -d && npm test
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT © azu
FAQs
半角文字と全角文字のスペースについてのtextlintルール
The npm package textlint-rule-ja-space-between-half-and-full-width receives a total of 23,102 weekly downloads. As such, textlint-rule-ja-space-between-half-and-full-width popularity was classified as popular.
We found that textlint-rule-ja-space-between-half-and-full-width demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.