Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/quantco/pre-commit-mirrors-hclfmt
https://github.com/quantco/pre-commit-mirrors-hclfmt
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/quantco/pre-commit-mirrors-hclfmt
- Owner: Quantco
- License: bsd-3-clause
- Created: 2023-05-31T13:03:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-31T08:11:34.000Z (9 months ago)
- Last Synced: 2024-04-16T01:24:05.299Z (9 months ago)
- Size: 45.9 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# hclfmt pre-commit hook
pre-commit hook of hclfmt with conda as a `language` / package manager.
For pre-commit: see [here](https://github.com/pre-commit/pre-commit)
For hclfmt: see [here](https://github.com/hashicorp/hcl/tree/main/cmd/hclfmt)
## Using hclfmt with pre-commit and conda:
Add this to your `.pre-commit-config.yaml`
```yaml
- repo: https://github.com/quantco/pre-commit-mirrors-hclfmt
rev: '' # Use the sha / tag you want to point at
hooks:
- id: hclfmt-conda
```