Install the VSCode plugin

The vacuum plugin for VSCode is available in the Visual Studio Code Marketplace.

You can install the plugin by searching for vacuum in the extensions view in VSCode.

Enabling vacuum

Open up the command palette and type vacuum and select Lint OpenAPI using vacuum.

YAML and JSON files will be automatically detected (if they are OpenAPI) and linted using vacuum.

Disabling vacuum

If you want to disable vacuum, open up the command palette and type vacuum and select Stop Linting OpenAPI using vacuum.

Configuration

To configure vacuum to use your own rules, rulesets and custom functions, you can provide a configuration file.

To change the configuration, you will need to stop and re-start the linting.