Skip to content

Releases: standard/vscode-standard

v2.1.3

06 Nov 16:49
77896a0
Compare
Choose a tag to compare

What's Changed

  • Fix: "Unable to locate the project file" after upgrading ts-standard to v12 (#494)
  • Fix: "TypeError: callback is not a function" error message (#465)

New Contributors

Full Changelog: v2.1.2...v2.1.3

v2.1.2

31 Aug 11:03
7167ab8
Compare
Choose a tag to compare

What's Changed

  • Fix: Publishing issue on the VSCode Marketplace (#444)

Full Changelog: v2.1.1...v2.1.2

v2.1.1

27 Jul 14:31
3a6d198
Compare
Choose a tag to compare

What's Changed

  • Fix: Detect brackets in filename and folders (#443)

New Contributors

Full Changelog: v2.1.0...v2.1.1

v2.1.0

06 Feb 11:33
b70aca7
Compare
Choose a tag to compare
  • Feature: Add support for standard-engine@15 (#376)

New Contributors

Full Changelog: v2.0.1...v2.1.0

v2.0.1

23 Oct 06:35
be63913
Compare
Choose a tag to compare
  • Fix: Crash if a package.json file does not have a devDependencies property. (#310)
  • Chore: Add automated tests (#297)

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

09 Sep 09:32
776593a
Compare
Choose a tag to compare
  • 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

18 May 01:22
62afd2a
Compare
Choose a tag to compare
  • Fix: Find babel config files with @babel/eslint-parser (#207)

v1.5.0

23 Feb 20:40
11fb261
Compare
Choose a tag to compare
  • Feature: Add treatErrorsAsWarnings to forces all warnings and errors from standard to become warnings (#108)
  • Fix: Detect brackets in filename (#126 and #139)

Now standardEnabled context variable

30 Apr 14:51
3019d30
Compare
Choose a tag to compare

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"
}

No more globally StandardJS!

13 Sep 01:04
Compare
Choose a tag to compare

New features

  • This version add a new usePackageJson setting default to false, when set to true, JavaScript Standard Style will only be activated if you have standard or semistandard installed under your project root. 264c442 - @Bojan