Skip to content

Commit

Permalink
Lint bad spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
verhovsky committed Dec 19, 2024
1 parent 89b09fa commit 11b91ad
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ jobs:

- name: Files are UTF-8
run: ./lint/encoding.sh .
- name: No non-breaking spaces
run: |
if grep -rI --include='*.md' $'\u00A0' .; then
exit 1
fi
- name: No zero-width spaces
run: |
if grep -rI --include='*.md' $'\u200B' .; then
exit 1
fi
- name: Lint Markdown
run: mdl . --ignore-front-matter -r MD003,MD005,MD011,MD018,MD019,MD023,MD025,MD027,MD028,MD030,MD035,MD037,MD038,MD039,MD047
- name: Lint frontmatter
Expand Down

0 comments on commit 11b91ad

Please sign in to comment.