Skip to content

Commit

Permalink
Remove markdownlint-rule-helpers dependency, reference via require("m…
Browse files Browse the repository at this point in the history
…arkdownlint/helpers") instead.
  • Loading branch information
DavidAnson committed Jan 2, 2023
1 parent 0b87e04 commit 77ea05e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion markdownlint.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ function lintAndPrint(stdin, files) {
...lintOptions,
resultVersion: 3
};
const markdownlintRuleHelpers = require('markdownlint-rule-helpers');
const markdownlintRuleHelpers = require('markdownlint/helpers');
for (const file of files) {
fixOptions.files = [file];
const fixResult = markdownlint.sync(fixOptions);
Expand Down
14 changes: 0 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"js-yaml": "^4.1.0",
"jsonc-parser": "~3.2.0",
"markdownlint": "~0.27.0",
"markdownlint-rule-helpers": "~0.17.2",
"minimatch": "~5.1.2",
"run-con": "~1.2.11"
},
Expand Down

0 comments on commit 77ea05e

Please sign in to comment.