Commit Graph

8 Commits

Author SHA1 Message Date
Xing Yahao
87d9e3c076 [ci] Create readme auto generator 2022-02-26 19:05:53 +09:00
Recolic Keghart
00000000e8 Enhance contributing guide. "& 2022-02-19 18:59:08 +08:00
Bobby Rong
0e2aa9e3f6
Merge pull request #91 from Anduin2017/Anduin2017-patch-1
Suppress MD024
2022-02-19 14:42:05 +08:00
Anduin Xue
cabfe0bda3
Update ci.yml 2022-02-19 14:32:15 +08:00
Bobby Rong
f0ba452c85
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
Anduin Xue
c417787dc0
Suppress MD024 2022-02-19 00:33:25 +08:00
Bobby Rong
8613b265d5
lint: skip MD029 and MD036
Skipping:

* MD029 Ordered list item prefix
* MD036 Emphasis used instead of a header

These rules are not fully applied to this repository yet and
further discussion is probably needed on how to deal with them.

Example markdownlint run:

* https://github.com/Anduin2017/HowToCook/runs/5226805159
2022-02-17 12:09:19 +08:00
bsdelf
adade3392f Create ci.yml 2022-01-04 12:18:41 +08:00