sindresorhus / awesome-lint

Linter for Awesome lists
MIT License
600 stars 56 forks source link

Markdown alerts trigger "Found reference to undefined definition" #189

Open asmaier opened 5 months ago

asmaier commented 5 months ago

When using the Markdown extension for alerts, e.g.

> [!NOTE]
> Some awesome note

as described at https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts the awesome linter will throw an error

Found reference to undefined definition      remark-lint:no-undefined-references
tomodachi94 commented 4 months ago

I can reproduce here.

Log

README.md:138:3 ✖ 138:3 Found reference to undefined definition remark-lint:no-undefined-references ✖ 148:3 Found reference to undefined definition remark-lint:no-undefined-references ✖ 153:3 Found reference to undefined definition remark-lint:no-undefined-references 3 errors Error: Process completed with exit code 1.

tomodachi94 commented 4 months ago

It looks like a workaround is available with the allow option in the relevant remark-lint rule. I'll submit a patch sometime tomorrow.