Releases: standard/vscode-standard
v2.1.3
v2.1.2
What's Changed
- Fix: Publishing issue on the VSCode Marketplace (#444)
Full Changelog: v2.1.1...v2.1.2
v2.1.1
What's Changed
- Fix: Detect brackets in filename and folders (#443)
New Contributors
- @josegutierro and @AndreiMariusHogas their first contribution in #443
Full Changelog: v2.1.0...v2.1.1
v2.1.0
- Feature: Add support for
standard-engine@15
(#376)
New Contributors
- @NemoStein made their first contribution in #376
Full Changelog: v2.0.1...v2.1.0
v2.0.1
v2.0.0
- Feature: Better options default to reduce configurations overhead for users so that they can use the extension fast without too much configurations and still following "best practices" by encouraging local installation per project. (#263)
Now the extension will be automatically be enabled in projects that has one of the engines (standard
, semistandard
, standardx
or ts-standard
) installed in devDependencies
in package.json
.
Note: This feature is only working if you have only one open folder in your VSCode workspace.
Note 2: If you still want to enable the extension globally you can set the new option : "standard.enableGlobally": true
(by default it is set to false
).
BREAKING CHANGE: This feature changed the default settings, before: "standard.usePackageJson": false
, after: "standard.usePackageJson": true
BREAKING CHANGE: By default (if you don't set "standard.enableGlobally": true
), the extension will not lint your files if you haven't got a package.json
containing one of the engines installed in devDependencies
.
v1.5.1
v1.5.0
Now standardEnabled context variable
We've added a clause context to detect if standard is enabled.
Now for example we can use the context in our key bindings, e.g:
{
"key": "ctrl+shift+i",
"command": "standard.executeAutofix",
"when": "standardEnabled && editorTextFocus && !editorReadonly"
}