WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

autoFixOnSave not working when standard is installed globally #373

@ocroz

Description

@ocroz

With: [email protected]
On Windows 10 and remote Container in WSL2 with [email protected] and [email protected].

I can run standard --fix however I install standard locally or globally.

Now, if I configure "standard.autoFixOnSave": true in my settings.json, it works only if standard is installed locally using;
npm install --save-dev --no-optional standard.

autoFixOnSave should work if standard is installed globally too, using:
npm install --global --no-optional standard.

Then, no need to install standard to all my javascript projects.

I don't know this code, and I'm not confident enough to to submit a pull request to fix this bug. Can anyone help?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions