Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>Spectral ValidatorNew to Visual Studio Code? Get it now.
Spectral Validator

Spectral Validator

DI

|
363 installs
| (1) | Free
VS Code extension to in-editor feedback for Spectral ruleset.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Spectral Validator

The Spectral Validator is a simple VS Code Extension that provides on-save feedback using the Spectral Linter

Features

  • Currently, only YAML files are supported.
  • Lint-on-save
  • Custom ruleset support (.spectral.json, .spectral.yaml or .spectral.yml)
  • Local and hosted rulesets

Extension Settings

This extension contributes the following settings:

  • spectral.rulesetLocation: Path/URL to a ruleset file. If no ruleset is provided, the default is a .spectral.yaml or .spectral.json file in the same folder as the to be validated document.

License

Apache-2.0

How to publish

For more details see publishing extensions

  1. Install vsce by executing npm install -g @vscode/vsce
  2. Run vsce package in the root of the project
  3. Retrieve a Personal Access Token (PAT) from Azure (see here)
  4. Run vsce publish -p {YOUR PAT}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft