https://github.com/ccoveille/pre-commit-unmake
pre-commit support for unmake
https://github.com/ccoveille/pre-commit-unmake
linter linters linting makefile makefile-syntax pre-commit-hook precommit precommit-hook precommit-hooks unmake
Last synced: 6 months ago
JSON representation
pre-commit support for unmake
- Host: GitHub
- URL: https://github.com/ccoveille/pre-commit-unmake
- Owner: ccoVeille
- License: mit
- Created: 2024-06-25T08:22:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-25T22:57:33.000Z (over 1 year ago)
- Last Synced: 2025-07-07T17:14:02.960Z (7 months ago)
- Topics: linter, linters, linting, makefile, makefile-syntax, pre-commit-hook, precommit, precommit-hook, precommit-hooks, unmake
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pre-commit-unmake
[](https://github.com/pre-commit/pre-commit)
This repository brings [unmake](https://github.com/mcandre/unmake) hook for [pre-commit](https://github.com/pre-commit/pre-commit)
`unmake` is a `Makefile` files linter. It helps to spot errors in these files.
More information on [the project page](https://github.com/mcandre/unmake).
For more detail about pre-commit project on the [official website](https://pre-commit.com/).
## Using this hook
Add this to your `.pre-commit-config.yaml`
```yaml
- repo: https://github.com/ccoVeille/pre-commit-unmake
rev: v1.0.4
hooks:
- id: unmake
```
Then use
```console
$ pre-commit autoupdate
```
For more information about pre-commit configuration, please refer to the [official documentation](https://pre-commit.com/index.html#pre-commit-configyaml---repos).
## Motivation
`pre-commit` is a great tool.
`unmake` is a great tool.
Let's bring support to `unmake` in `pre-commit`
An [issue](https://github.com/mcandre/unmake/issues/242) and a [PR](https://github.com/mcandre/unmake/pull/244) had requested `unmake` owner to support it.
The owner refused to consider adding pre-commit support… So here, we are 😬 😁,
I created https://github.com/ccoVeille/pre-commit-unmake to provide it