1
0
mirror of synced 2025-11-06 05:10:37 +08:00
Commit Graph

4 Commits

Author SHA1 Message Date
Anduin Xue
62f11a87e7 New lint CI. Fix some issues. 2022-03-12 14:34:23 +08:00
Anduin Xue
271b120cb0 Init npm. 2022-03-05 01:43:56 +08:00
Anduin Xue
c59b0d55f8 Text lint add half and full width bracket. 2022-03-01 01:19:31 +08:00
Bobby Rong
5647b5421b CI: add textlint
Instead of requesting changes in every pull requests and block them from merging,
we are trying to automate the process of adding missing spaces between half and
full-width characters using GitHub Actions.

The main idea is:

- Only run the workflow in the main repository (instead of other forks).
- Try to fix all files using textlint.
- Only commit files with .md extension.
- Directly push the change to the master branch.

Related projects:

- https://github.com/textlint/textlint
- https://github.com/textlint-ja/textlint-rule-preset-ja-spacing
- https://github.com/sparanoid/chinese-copywriting-guidelines

Related discussions:

- https://github.com/Anduin2017/HowToCook/pull/88
2022-02-19 14:21:45 +08:00