Closed stevenaw closed 8 months ago
I pushed PR https://github.com/nunit/docs/pull/882 recently and it failed with the error:
markdownlint-cli2-config: command not found
It looks like a new version of markdownlint-cli2 package has been published, v0.12.x, which removes the markdownlint-cli2-config entry point. It's instead recommended to pass config via the --config flag (https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md#012 ).
markdownlint-cli2
markdownlint-cli2-config
--config
I'm unable to experiment with this at the moment but I think this just means changing how we invoke it
markdownlint-cli2-config ".github/linters/.markdownlint.yml" "docs/**/*.md" # Change to -> markdownlint-cli2 --config ".github/linters/.markdownlint.yml" "docs/**/*.md"
@stevenaw I had the same problem for the analyzers, so I've supplied a PR (#884), but there seem to be other problems. I'll also take a look at them
I pushed PR https://github.com/nunit/docs/pull/882 recently and it failed with the error:
It looks like a new version of
markdownlint-cli2
package has been published, v0.12.x, which removes themarkdownlint-cli2-config
entry point. It's instead recommended to pass config via the--config
flag (https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md#012 ).I'm unable to experiment with this at the moment but I think this just means changing how we invoke it