Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Repository files navigation

pre-commit-jsonnet

lint and tests

pre-commit hooks for jsonnet.

Usage

Add the following to your .pre-commit-config.yaml:

repos:
    - repo: https://github.com/cybozu/pre-commit-jsonnet
      rev: v0.3.2
      hooks:
          - id: jsonnet-fmt
            args: ["--test"]  # you can specify any options of jsonnetfmt command
          - id: jsonnet-lint
            args: []  # you can specify any options of jsonnet-lint command

Update pinned GitHub Actions

This repository uses pinact to update and verify pinned GitHub Actions.

GITHUB_TOKEN="$(gh auth token)" pinact run --update --min-age 14

About

pre-commit hooks for jsonnet

Topics

Resources

Stars

2 stars

Watchers

4 watching

Forks

Releases

Used by

Contributors

Languages