spectral
A flexible JSON/YAML linter for creating automated style guides (https://github.com/stoplightio/spectral).
Backend: pants.backend.experimental.openapi.lint.spectral
Config section: [spectral]
Basic options
default:
False
If true, don't use Spectral when running pants lint
.
default:
[]
Arguments to pass directly to Spectral, e.g. --spectral-args='--fail-severity=warn'
.
Advanced options
default:
@stoplight/[email protected]
Version string for the tool in the form package@version (e.g. [email protected])
default:
None
If specified, install the tool using the lockfile for this named resolve, instead of the version configured in this subsystem.
If unspecified, the tool will use the default configured package manager [nodejs].package_manager`, and install the tool without a lockfile.
Deprecated options
None
Updated 28 days ago