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

This commit is contained in:
David Sanders 2024-05-15 11:44:46 -07:00 committed by GitHub
parent 19dc276878
commit 0b62abf244
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 116 additions and 48 deletions

View file

@ -278,7 +278,7 @@ const LINTERS = [{
// Run markdownlint on all Markdown files
for (const chunk of chunkFilenames(filenames)) {
spawnAndCheckExitCode('electron-markdownlint', chunk);
spawnAndCheckExitCode('markdownlint-cli2', chunk);
}
// Run the remaining checks only in docs