Skip to content

Commit

Permalink
chore(release): v2.0.1 (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
theoludwig authored Oct 23, 2021
1 parent 784bea3 commit be63913
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Changelog

## 2.0.1

- **Fix**: Crash if a `package.json` file does not have a `devDependencies` property. ([#310](https://github.com/standard/vscode-standard/pull/310))
- **Chore**: Add automated tests ([#297](https://github.com/standard/vscode-standard/pull/297))

## 2.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](https://github.com/standard/vscode-standard/pull/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`
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-standard",
"displayName": "StandardJS - JavaScript Standard Style",
"description": "Visual Studio Code extension for JavaScript Standard Style with automatic fixing.",
"version": "2.0.0",
"version": "2.0.1",
"author": "Standard",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit be63913

Please sign in to comment.