Skip to content

Commit

Permalink
Lint carriage return
Browse files Browse the repository at this point in the history
  • Loading branch information
verhovsky committed Dec 19, 2024
1 parent 11b91ad commit 01771b3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,21 @@ jobs:

- name: Files are UTF-8
run: ./lint/encoding.sh .
- name: No non-breaking spaces
- name: "No non-breaking spaces"
run: |
if grep -rI --include='*.md' $'\u00A0' .; then
exit 1
fi
- name: No zero-width spaces
- name: "No zero-width spaces"
run: |
if grep -rI --include='*.md' $'\u200B' .; then
exit 1
fi
- name: "No carriage return"
run: |
if grep -rI --include='*.md' $'\u000D' .; 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 01771b3

Please sign in to comment.