Skip to content

Commit

Permalink
Amend Markdown Linting tool to markdownlint-cli2
Browse files Browse the repository at this point in the history
Signed-off-by: George Steel <[email protected]>
  • Loading branch information
gsteel committed Sep 10, 2024
1 parent faa4e11 commit f262579
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ export default function createTools(config: Config): Array<Tool> {
{
executionType : ToolExecutionType.STATIC,
name : 'Documentation Linting',
command : 'markdownlint doc/book/**/*.md',
command : 'markdownlint-cli2 doc/book/**/*.md',
filesToCheck : [ 'doc/book/' ],
toolType : ToolType.LINTER,
},
{
executionType : ToolExecutionType.STATIC,
name : 'Documentation Linting',
command : 'markdownlint docs/book/**/*.md',
command : 'markdownlint-cli2 docs/book/**/*.md',
filesToCheck : [ 'docs/book/' ],
toolType : ToolType.LINTER,
},
Expand All @@ -91,7 +91,7 @@ export default function createTools(config: Config): Array<Tool> {
{
executionType : ToolExecutionType.STATIC,
name : 'README Linting',
command : 'markdownlint README.md',
command : 'markdownlint-cli2 README.md',
filesToCheck : [ 'README.md' ],
toolType : ToolType.LINTER,
},
Expand Down

0 comments on commit f262579

Please sign in to comment.