Skip to content

Commit

Permalink
init-textlint
Browse files Browse the repository at this point in the history
  • Loading branch information
masarakki committed Jul 24, 2024
1 parent adb14d8 commit 8eb09f0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
- uses: actions/checkout@v4
- uses: tsuyoshicho/action-textlint@v3
with:
package_manager: yarn
fail_on_error: true
11 changes: 11 additions & 0 deletions .textlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"filters": {},
"rules": {
"no-todo": true,
"prh": {
"rulePaths": [
"./prh.yml"
]
}
}
}
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"devDependencies": {
"textlint": "^14.0.4",
"textlint-rule-no-todo": "^2.0.1",
"textlint-rule-preset-ja-technical-writing": "^10.0.1",
"textlint-rule-prh": "^6.0.0"
}
}
2 changes: 2 additions & 0 deletions prh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version: 1
rules:

0 comments on commit 8eb09f0

Please sign in to comment.