Skip to content

Commit 0a705c1

Browse files
committed
Text lint add half and full width bracket.
1 parent 50716b3 commit 0a705c1

File tree

4 files changed

+75
-5
lines changed

4 files changed

+75
-5
lines changed

.textlintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"rules": {
44
"ja-space-between-half-and-full-width": {
55
"space": "always"
6-
}
6+
},
7+
"zh-half-and-full-width-bracket": true
78
}
89
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
* [土豆炖排骨](./dishes/home-cooking/土豆炖排骨/土豆炖排骨.md)
8585
* [西红柿炒鸡蛋](./dishes/home-cooking/西红柿炒鸡蛋.md)
8686
* [西红柿牛腩](./dishes/home-cooking/西红柿牛腩/西红柿牛腩.md)
87-
* [西红柿土豆炖牛肉(腩)](./dishes/home-cooking/西红柿土豆炖牛肉/西红柿土豆炖牛肉(腩).md)
87+
* [西红柿土豆炖牛肉(腩)](./dishes/home-cooking/西红柿土豆炖牛肉/西红柿土豆炖牛肉(腩).md)
8888
* [香干芹菜炒肉](./dishes/home-cooking/香干芹菜炒肉/香干芹菜炒肉.md)
8989
* [香干肉丝](./dishes/home-cooking/香干肉丝.md)
9090
* [香菇滑鸡](./dishes/home-cooking/香菇滑鸡/香菇滑鸡.md)
@@ -157,7 +157,7 @@
157157
* [金汤力](./dishes/drink/金汤力/金汤力.md)
158158
* [奶茶](./dishes/drink/奶茶.md)
159159
* [酸梅汤](./dishes/drink/酸梅汤/酸梅汤.md)
160-
* [酸梅汤(半成品加工)](./dishes/drink/酸梅汤(半成品加工).md)
160+
* [酸梅汤半成品加工](./dishes/drink/酸梅汤(半成品加工).md)
161161
* [杨枝甘露](./dishes/drink/杨枝甘露.md)
162162
* [B52轰炸机](./dishes/drink/B52轰炸机.md)
163163

package-lock.json

Lines changed: 69 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"dependencies": {
33
"textlint": "^12.1.0",
4-
"textlint-rule-ja-space-between-half-and-full-width": "^2.2.0"
4+
"textlint-rule-ja-space-between-half-and-full-width": "^2.2.0",
5+
"textlint-rule-zh-half-and-full-width-bracket": "^1.1.0"
56
}
67
}

0 commit comments

Comments
 (0)