Skip to content

Commit

Permalink
updates to ignore bare URLs and line lengths up to 600 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Clews committed Sep 12, 2024
1 parent 3eb3ef8 commit 916f3a0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/markdown-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ jobs:
- name: Install markdownlint-cli
run: npm install -g markdownlint-cli

- name: Run markdownlint
run: markdownlint '**/*.md'
- name: Create markdownlint configuration
run: |
echo '{
"MD013": {
"line_length": 600, // Sets a high line length limit (600 characters)
"ignore_urls": true, // Ignores long lines that contain URLs
"ignore_code_blocks": true, // Ignores long lines within code blocks
"ignore_tables": true // Ignores long lines within tables
},
"MD034": false // Disables the rule that flags bare URLs
}' > .markdownlint.json
- name: Run markdownlint
run: markdownlint '**/*.md'

0 comments on commit 916f3a0

Please sign in to comment.