- 112 Installs
This extension is allowed to:
- Read Files
- Launch Subprocesses
standard treats all rule violations as errors, this extensions (in order to reduce visual clutter) displays auto-fixable issues as "hints" and all other issues as "errors".
- supported syntaxes:
Fix all auto-fixable issuescommand that can be invoked through the command palette
Auto-fix on saveconfigurable globally and on a per-workspace basis (off by default)
- uses locally installed
To install the current stable version of Node, click the "Recommended for Most Users" button to begin the download. When that completes, double-click the .pkg installer to begin installation.
standard has to be installed locally in your workspace (e.g. with
npm i -D standard). This extension will not use any globally installed
standard installations. If this is something you want, feel free to open an issue or PR.
If you would like to check additional syntaxes like
html, you'll need to install the appropriate ESLint plugin. The extension will let you know which one. Additionally, you must add the plugin to
package.json(see https://standardjs.com for more information).
You can also configure preferences on a per-project basis in Project → Project Settings...
- Enable auto-fix on save (off by default)
Lots of inspiration was drawn from these sources:
- Turns out standard doesn't play nicely with
vue, remove support again.
- Add support for
- Fix detection of
Update URL to screenshot in Readme