Skip to content

Commit

Permalink
ci(markdownlint): add Markdown linting (reanahub#838)
Browse files Browse the repository at this point in the history
Co-authored-by: Tibor Šimko <[email protected]>
  • Loading branch information
jlemesh and tiborsimko committed Nov 13, 2024
1 parent 3dd6a45 commit a808a4e
Show file tree
Hide file tree
Showing 6 changed files with 536 additions and 511 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,17 @@ jobs:
run: |
pip install yamllint
./run-tests.sh --check-yamllint
lint-markdownlint:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v4

- name: Lint Markdown files
run: |
npm install markdownlint-cli2 --global
./run-tests.sh --check-markdownlint
5 changes: 5 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Allow arbitrary line length
MD013: false

# Allow prompt dollar sign in console examples without showing output
MD014: false
Loading

0 comments on commit a808a4e

Please sign in to comment.