Skip to content

Commit

Permalink
Text lint add half and full width bracket.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anduin2017 committed Feb 28, 2022
1 parent 50716b3 commit 0a705c1
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .textlintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"rules": {
"ja-space-between-half-and-full-width": {
"space": "always"
}
},
"zh-half-and-full-width-bracket": true
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
* [土豆炖排骨](./dishes/home-cooking/土豆炖排骨/土豆炖排骨.md)
* [西红柿炒鸡蛋](./dishes/home-cooking/西红柿炒鸡蛋.md)
* [西红柿牛腩](./dishes/home-cooking/西红柿牛腩/西红柿牛腩.md)
* [西红柿土豆炖牛肉(腩)](./dishes/home-cooking/西红柿土豆炖牛肉/西红柿土豆炖牛肉(腩).md)
* [西红柿土豆炖牛肉(腩)](./dishes/home-cooking/西红柿土豆炖牛肉/西红柿土豆炖牛肉(腩).md)
* [香干芹菜炒肉](./dishes/home-cooking/香干芹菜炒肉/香干芹菜炒肉.md)
* [香干肉丝](./dishes/home-cooking/香干肉丝.md)
* [香菇滑鸡](./dishes/home-cooking/香菇滑鸡/香菇滑鸡.md)
Expand Down Expand Up @@ -157,7 +157,7 @@
* [金汤力](./dishes/drink/金汤力/金汤力.md)
* [奶茶](./dishes/drink/奶茶.md)
* [酸梅汤](./dishes/drink/酸梅汤/酸梅汤.md)
* [酸梅汤(半成品加工)](./dishes/drink/酸梅汤(半成品加工).md)
* [酸梅汤半成品加工](./dishes/drink/酸梅汤(半成品加工).md)
* [杨枝甘露](./dishes/drink/杨枝甘露.md)
* [B52轰炸机](./dishes/drink/B52轰炸机.md)

Expand Down
70 changes: 69 additions & 1 deletion package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"dependencies": {
"textlint": "^12.1.0",
"textlint-rule-ja-space-between-half-and-full-width": "^2.2.0"
"textlint-rule-ja-space-between-half-and-full-width": "^2.2.0",
"textlint-rule-zh-half-and-full-width-bracket": "^1.1.0"
}
}

0 comments on commit 0a705c1

Please sign in to comment.