[GH-ISSUE #338] Consider adding homebrew installation option #290

Closed
opened 2026-03-03 01:25:27 +03:00 by kerem · 2 comments
Owner

Originally created by @pdesjardins90 on GitHub (Oct 9, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/338

When developing a project that has no package.json (for example, a shell script project), it would be nice to be able to include markdownlint in the project's brew bundle file instead of having to create a package.json just for it. This is something Prettier, a project similar to yours, is doing. See here.

Apart from writing the initial fomula (probably very similar to the one I linked), you'd have to include a way to update the hashes when you release a new version. I don't know what are the best practices for automating that, but my guess would be to do it through a github action.

Would you be open to add this feature to the project? If so, would you accept pull requests for it?

Originally created by @pdesjardins90 on GitHub (Oct 9, 2020). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/338 When developing a project that has no package.json (for example, a shell script project), it would be nice to be able to include `markdownlint` in the project's brew bundle file instead of having to create a package.json just for it. This is something [Prettier](https://github.com/prettier/prettier), a project similar to yours, is doing. See [here](https://github.com/Homebrew/homebrew-core/blob/e9e4aa606c048454ef19ce16c2e71652984c9e73/Formula/prettier.rb). Apart from writing the initial fomula (probably very similar to the one I linked), you'd have to include a way to update the hashes when you release a new version. I don't know what are the best practices for automating that, but my guess would be to do it through a github action. Would you be open to add this feature to the project? If so, would you accept pull requests for it?
kerem closed this issue 2026-03-03 01:25:27 +03:00
Author
Owner

@pdesjardins90 commented on GitHub (Oct 9, 2020):

I'll be moving this issue to the markdownlint-cli repository as I realize it's more relevant there.

<!-- gh-comment-id:705937944 --> @pdesjardins90 commented on GitHub (Oct 9, 2020): I'll be moving this issue to the [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) repository as I realize it's more relevant there.
Author
Owner

@pdesjardins90 commented on GitHub (Oct 9, 2020):

For reference: https://github.com/igorshubovych/markdownlint-cli/issues/111

<!-- gh-comment-id:705938495 --> @pdesjardins90 commented on GitHub (Oct 9, 2020): For reference: https://github.com/igorshubovych/markdownlint-cli/issues/111
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#290
No description provided.