Skip to content

Commit

Permalink
pkg: #228 📦 configure textlint (space-between-half-and-full-width) (#229
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ubugeeei authored Jan 6, 2024
1 parent 7dc8a95 commit 5ec7b74
Show file tree
Hide file tree
Showing 4 changed files with 992 additions and 15 deletions.
7 changes: 7 additions & 0 deletions .textlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"rules": {
"ja-space-between-half-and-full-width": {
"space": "always"
}
}
}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"Parens",
"RAWTEXT",
"RCDATA",
"textlint",
"tokei",
"unref",
"vdom",
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"dev:setup": "tsx tools/chibivue-playground/main.ts",
"build": "tsx build",
"lint": "eslint --cache --ext .js,.ts,.tsx . --ignore-path .gitignore",
"lint:text": "textlint book",
"format": "prettier --write --cache .",
"format-check": "prettier --check --cache .",
"test": "vitest",
Expand All @@ -35,6 +36,9 @@
"*.ts": [
"eslint --fix",
"prettier --parser=typescript --write"
],
"*.md": [
"textlint"
]
},
"author": "Ubugeeei <[email protected]>",
Expand All @@ -59,6 +63,8 @@
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"textlint": "^13.4.1",
"textlint-rule-ja-space-between-half-and-full-width": "^2.3.0",
"tsx": "^4.7.0",
"typescript": "^5.2.2",
"vite-hyper-config": "^0.2.1",
Expand Down
Loading

0 comments on commit 5ec7b74

Please sign in to comment.