Skip to content

Commit

Permalink
Move markdownlint-cli2 invocation to package.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jan 22, 2024
1 parent 12f8c6a commit 96433af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ Task("build-vscode")

Task("build-doc")
.IsDependentOn("restore-doc")
.Does(() => DoInDirectory(doc, () => Npx("markdownlint-cli2")));
.Does(() => DoInDirectory(doc, () => NpmRunScript("build")));

Task("build")
.IsDependentOn("build-stdlib")
Expand Down
3 changes: 3 additions & 0 deletions doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
},
"devDependencies": {
"markdownlint-cli2": "0.12.1"
},
"scripts": {
"build": "npx markdownlint-cli2"
}
}

0 comments on commit 96433af

Please sign in to comment.