Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change markdown linter #362

Merged
merged 2 commits into from
Jan 5, 2024
Merged

Change markdown linter #362

merged 2 commits into from
Jan 5, 2024

Conversation

jarkenau
Copy link
Member

@jarkenau jarkenau commented Jan 5, 2024

This PR changes the markdown linter from markdownlint/markdownlint to igorshubovych/markdownlint-cli as this allows to enable or disable rules at particular locations inside files, which is very useful for our mkdocs documentation.

By default, I disabled the following rules globally, as they were violated by too many files to fix currently.

MD013 line-length - Line length
MD033 no-inline-html - Inline HTML

With the new linter, it's possible to disable rules at particular locations inside a file, which is especially useful for the mkdocs documentation. Further, it enables a more straightforward configuration via JSON files instead of ruby files.
@jarkenau jarkenau requested a review from Mark-Niemeyer January 5, 2024 09:28
@jarkenau jarkenau self-assigned this Jan 5, 2024
@jarkenau jarkenau merged commit 0b31b17 into main Jan 5, 2024
8 checks passed
@jarkenau jarkenau deleted the change-markdown-linter branch January 5, 2024 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants