Skip to content

Commit

Permalink
Merge pull request #51 from striderkein/chore/#50
Browse files Browse the repository at this point in the history
re-enable spellcheck-tech-word, update whitelist to allowlist
  • Loading branch information
striderkein authored Sep 13, 2023
2 parents e31ef79 + fb96029 commit 931dc43
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 57 deletions.
8 changes: 8 additions & 0 deletions .textlintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"filters": {
"allowlist": {
"allow": [
"%", // allow half-width percent sign
]
}
},
"rules": {
"preset-ja-technical-writing": {
"sentence-length": {
Expand Down Expand Up @@ -106,6 +113,7 @@
"ja-space-after-question": false,
"ja-no-space-between-full-width": false
},
"spellcheck-tech-word": true,
"period-in-list-item": {
"periodMark": "",
"periodMarks": [
Expand Down
180 changes: 125 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"markdownlint-cli2": "^0.9.2",
"md-to-pdf": "^5.2.4",
"textlint": "^13.3.3",
"textlint-filter-rule-allowlist": "^4.0.0",
"textlint-filter-rule-comments": "^1.2.2",
"textlint-filter-rule-whitelist": "^2.0.0",
"textlint-rule-abbr-within-parentheses": "^1.0.2",
"textlint-rule-footnote-order": "^1.0.3",
"textlint-rule-general-novel-style-ja": "^1.3.0",
Expand All @@ -35,6 +35,7 @@
"textlint-rule-preset-ja-spacing": "^2.0.2",
"textlint-rule-preset-ja-technical-writing": "^3.1.3",
"textlint-rule-preset-jtf-style": "^2.3.4",
"textlint-rule-prh": "^5.3.0"
"textlint-rule-prh": "^5.3.0",
"textlint-rule-spellcheck-tech-word": "^5.0.0"
}
}

0 comments on commit 931dc43

Please sign in to comment.