{"id":18447782,"url":"https://github.com/stoplightio/vscode-spectral","last_synced_at":"2026-03-17T21:05:27.730Z","repository":{"id":37793669,"uuid":"227608506","full_name":"stoplightio/vscode-spectral","owner":"stoplightio","description":"VS Code extension bringing the awesome Spectral JSON/YAML linter with OpenAPI/AsyncAPI support","archived":false,"fork":false,"pushed_at":"2025-03-28T22:22:24.000Z","size":1711,"stargazers_count":77,"open_issues_count":41,"forks_count":26,"subscribers_count":13,"default_branch":"master","last_synced_at":"2026-03-05T10:56:30.494Z","etag":null,"topics":["stoplight-oss","stoplight-spectral"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=stoplight.spectral","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stoplightio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-12-12T13:02:36.000Z","updated_at":"2025-12-12T11:55:48.000Z","dependencies_parsed_at":"2025-02-28T07:14:28.796Z","dependency_job_id":"c7c5c4f6-c79c-4e1b-970b-daea5ecc2168","html_url":"https://github.com/stoplightio/vscode-spectral","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/stoplightio/vscode-spectral","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fvscode-spectral","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fvscode-spectral/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fvscode-spectral/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fvscode-spectral/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stoplightio","download_url":"https://codeload.github.com/stoplightio/vscode-spectral/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fvscode-spectral/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30631438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["stoplight-oss","stoplight-spectral"],"created_at":"2024-11-06T07:14:25.203Z","updated_at":"2026-03-17T21:05:27.713Z","avatar_url":"https://github.com/stoplightio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spectral Linter for VS Code\n\nThe Spectral VS Code Extension brings the power of [Spectral](https://stoplight.io/open-source/spectral?utm_source=github.com\u0026utm_medium=referral\u0026utm_campaign=github_repo_vs_code_spectral) to your favorite editor.\n\nSpectral is a flexible object linter with out of the box support for [OpenAPI](https://openapis.org/) v2 and v3, [Arazzo](https://www.openapis.org/arazzo), [JSON Schema](https://json-schema.org/), and [AsyncAPI](https://www.asyncapi.com/) v2 and v3.\n\n## Features\n\n- Lint-on-save\n- Lint-on-type\n- Custom ruleset support (`.spectral.json`, `.spectral.yaml`, `.spectral.yml` or `.spectral.js`)\n- Intellisense for custom ruleset editing\n- Support for JSON and YAML input\n\n![screenshot](assets/screenshot1.png)\n\n## Requirements\n\n- Node.js ^12.21 or \u003e=14.13\n- Visual Studio Code version 1.48 or higher.\n\n## Installation\n\n- Install from the [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=stoplight.spectral)\n- Install via the CLI: `code --install-extension stoplight.spectral`\n\n## Extension Settings\n\nThis extension contributes the following settings:\n\n- `spectral.enable`: Controls whether or not Spectral is enabled.\n- `spectral.rulesetFile`: Location of the ruleset file to use when validating. If omitted, the default is a `.spectral.(json|yaml|yml)` in the same folder as the document being validated. Paths are relative to the workspace. This can also be a remote HTTP url.\n- `spectral.run`: Run the linter on save (`onSave`) or as you type (`onType`).\n- `spectral.validateFiles`: An array of file globs (e.g., `**/*.yaml`) which should be validated by Spectral. If language identifiers are also specified, the file must match both in order to be validated. You can also use negative file globs (e.g., `!**/package.json`) here to exclude files.\n- `spectral.validateLanguages`: An array of language IDs (e.g., `yaml`, `json`) which should be validated by Spectral. If file globs are also specified, the file must match both in order to be validated.\n\n## Thanks\n\n- [Mike Ralphson](https://github.com/MikeRalphson)\n- [Travis Illig](https://github.com/tillig)\n\n## License\n\n[Apache-2.0](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoplightio%2Fvscode-spectral","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstoplightio%2Fvscode-spectral","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoplightio%2Fvscode-spectral/lists"}