pre-commit-jsonnet

module
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2026 License: Apache-2.0

README

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

Directories

Path Synopsis
hooks

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL