Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Jsonlint Processor

Purpose

Lints JSON files using jsonlint.

How It Works

Discovers .json files in the project (excluding common build tool directories), runs jsonlint on each file, and records success in the cache. A non-zero exit code from jsonlint fails the product.

This processor does not support batch mode — each file is checked individually.

Source Files

  • Input: **/*.json
  • Output: none (checker)

Configuration

[processor.jsonlint]
linter = "jsonlint"                          # The jsonlint command to run
args = []                                    # Additional arguments to pass to jsonlint
extra_inputs = []                            # Additional files that trigger rebuilds when changed
KeyTypeDefaultDescription
linterstring"jsonlint"The jsonlint executable to run
argsstring[][]Extra arguments passed to jsonlint
extra_inputsstring[][]Extra files whose changes trigger rebuilds