JSLint Processor
Purpose
Lints JavaScript files using JSLint.
How It Works
Discovers .js files in the project (excluding common build tool directories),
runs jslint on each file, and records success in the cache. A non-zero exit
code from jslint fails the product.
This processor supports batch mode.
Source Files
- Input:
**/*.js - Output: none (checker)
Configuration
[processor.jslint]
args = []
extra_inputs = []
| Key | Type | Default | Description |
|---|---|---|---|
args | string[] | [] | Extra arguments passed to jslint |
extra_inputs | string[] | [] | Extra files whose changes trigger rebuilds |