Skip to content

Commit

Permalink
MarkdownLint destroys art
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Nov 27, 2024
1 parent fc3470b commit 8d1fead
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
- uses: nosborn/github-action-markdown-cli@v3.2.0
with:
files: .
ignore_files: ./README.md

test:
name: Test
Expand Down

1 comment on commit 8d1fead

@jhheider
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ftr, you can disable specific rules for the file or for the line. turning this:

Error: README.md:64 MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]
Error: README.md:70:1 MD004/ul-style Unordered list style [Expected: dash; Actual: asterisk]
Error: README.md:70 MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "> * The strength of your login..."]
Error: README.md:71:1 MD004/ul-style Unordered list style [Expected: dash; Actual: asterisk]
Error: README.md:8[6](https://github.com/pkgxdev/bpb/actions/runs/12039576579/job/33567668904#step:4:7) MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]
Error: README.md:9[7](https://github.com/pkgxdev/bpb/actions/runs/12039576579/job/33567668904#step:4:8) MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]

into
<!-- markdownlint-disable-next-line MD012 -->
if you wanted the rest of it. 'susually how I do it. you can also use a config or ignore dotfile. lots of options.

https://github.com/DavidAnson/vscode-markdownlint#snippets

Please sign in to comment.