https://github.com/nikaro/taplo-pre-commit
pre-commit hooks for taplo, the toml linter and formatter
https://github.com/nikaro/taplo-pre-commit
pre-commit pre-commit-hooks
Last synced: 2 months ago
JSON representation
pre-commit hooks for taplo, the toml linter and formatter
- Host: GitHub
- URL: https://github.com/nikaro/taplo-pre-commit
- Owner: nikaro
- Created: 2023-10-26T20:04:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T04:49:02.000Z (almost 2 years ago)
- Last Synced: 2024-04-09T02:12:45.997Z (almost 2 years ago)
- Topics: pre-commit, pre-commit-hooks
- Language: Rust
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Taplo pre-commit hooks
[pre-commit](https://pre-commit.com) hooks for [taplo](https://taplo.tamasfe.dev).
> A versatile, feature-rich TOML toolkit.
## Usage
Using pre-commit's built-in Rust language support:
```yaml
repos:
- repo: https://github.com/nikaro/taplo-pre-commit
rev: main
hooks:
- id: taplo-lint
- id: taplo-format
```
Using taplo's Docker image:
```yaml
repos:
- repo: https://github.com/nikaro/taplo-pre-commit
rev: main
hooks:
- id: taplo-lint-docker
- id: taplo-format-docker
```