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

chore: use markdownlint-cli2 directly for linting Markdown #42192

Merged
merged 1 commit into from
May 15, 2024

Conversation

dsanders11
Copy link
Member

Description of Change

After #42078, we can use markdownlint-cli2 directly instead of the electron-markdownlint wrapper provided by @electron/lint-roller, which will be dropped in a future release.

This change means our custom rules will be picked up by the VS Code extension for markdownlint and show errors in the editor, providing better DX.

The name change for .markdownlint.autofix.json required a larger change due to constraints markdownlint-cli2 puts on config filenames (needed to end in .markdownlint-cli2.jsonc).

Checklist

  • PR description included and stakeholders cc'd

Release Notes

Notes: none

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label May 15, 2024
@jkleinsc jkleinsc merged commit 0b62abf into main May 15, 2024
20 checks passed
@jkleinsc jkleinsc deleted the chore/use-markdownlint-cli2 branch May 15, 2024 18:44
Copy link

release-clerk bot commented May 15, 2024

No Release Notes

@DavidAnson
Copy link

@dsanders11, this is so cool! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-pr 🌱 PR opened in the last 24 hours no-backport semver/none
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants