Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling for workspace requires window reload #229

Open
jsumners opened this issue Jun 25, 2021 · 0 comments
Open

Disabling for workspace requires window reload #229

jsumners opened this issue Jun 25, 2021 · 0 comments
Labels

Comments

@jsumners
Copy link

What version of this package are you using?
v1.5.1

What operating system, Node.js, and npm version?
macOS 11
Node v14

What happened?
Opening a project that doesn't use the standard linter/formatter results in the following message for every file:

Failed to load the JavaScript Standard Style library for the document /whatever/index.js

To use JavaScript Standard Style please install JavaScript Standard Style by running 'npm install standard' in the workspace folder whatever
or globally using 'npm install -g standard'. You need to reopen the workspace after installing JavaScript Standard Style.

Alternatively you can disable JavaScript Standard Style for the workspace folder whatever by executing the 'Disable JavaScript Standard Style' command.

This warning is correct. However, running the "Disable JavaSCript Standard Style" command does not disable this warning for the current workspace until the "Reload Window" command is run.

What did you expect to happen?
Running the disable command should disable the linter for the workspace without having to also reload the window.

Are you willing to submit a pull request to fix this bug?
No. I am not familiar with TypeScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants