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]
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]
args--spectral-args="[<shell_str>, <shell_str>, ...]"PANTS_SPECTRAL_ARGS[spectral]
args = [
<shell_str>,
<shell_str>,
...,
]
[]Arguments to pass directly to Spectral, e.g. --spectral-args='--fail-severity=warn'.
skip--[no-]spectral-skipPANTS_SPECTRAL_SKIP[spectral]
skip = <bool>
FalseIf true, don't use Spectral when running pants lint.
binary_name--spectral-binary-name=<str>PANTS_SPECTRAL_BINARY_NAME[spectral]
binary_name = <str>
NoneOverride the binary to run for this tool. Defaults to the package name.
install_from_resolve--spectral-install-from-resolve=<str>PANTS_SPECTRAL_INSTALL_FROM_RESOLVE[spectral]
install_from_resolve = <str>
NoneIf 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.
version--spectral-version=<str>PANTS_SPECTRAL_VERSION[spectral]
version = <str>
@stoplight/[email protected]Version string for the tool in the form package@version (e.g. [email protected])
None
None