Improve Markdown linting

* Move .markdownlint to the root so it applies to the main readme.
* Improve .markdownlint, enable proper names checks.
* Use markdownlint-cli2 instead of markdownlint-cli as it's more compatible with VSCode extension.
This commit is contained in:
Oleg Kalachev
2024-12-17 17:16:19 +03:00
parent 0608765347
commit d01d5b7ecb
3 changed files with 69 additions and 12 deletions

View File

@@ -17,9 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install markdownlint
run: npm install -g markdownlint-cli
run: npm install -g markdownlint-cli2
- name: Run markdownlint
run: cd docs && markdownlint .
run: markdownlint-cli2 "**/*.md"
build_book:
runs-on: ubuntu-latest