markdownlint / markdownlint

Markdown lint tool
MIT License
1.82k stars 228 forks source link

there is no new release #380

Open leventyalcin opened 3 years ago

leventyalcin commented 3 years ago

Description

In order to use markdown_docker hook, I'm consuming the repo from master branch at the moment. However, pre-commit is not happy about this and throwing a warning as below;

[WARNING] The 'rev' field of repo 'https://github.com/markdownlint/markdownlint' appears to be a mutable reference (moving tag / branch).  Mutable references are never updated after first install and are not supported.  See https://pre-commit.com/#using-the-latest-version-for-a-repository for more details.  Hint: `pre-commit autoupdate` often fixes this.

I think a regular releases would help.

s1e2b3i4 commented 3 years ago

Instead, you can pick a particular commit-hash of a commit which includes this change. For example:

  - repo: https://github.com/markdownlint/markdownlint
    rev: 5329a84691ab0fbce873aa69bb5073a6f5f98bdb
    hooks:
      - id: markdownlint_docker

Now the warning should be gone.