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

Fix all auto-fixable problems not working #450

Open
NerdHarder615 opened this issue Aug 11, 2022 · 4 comments
Open

Fix all auto-fixable problems not working #450

NerdHarder615 opened this issue Aug 11, 2022 · 4 comments

Comments

@NerdHarder615
Copy link

NerdHarder615 commented Aug 11, 2022

What version of this package are you using?
v2.1.0

What operating system, Node.js, and npm version?
I am getting the same errors on both Arch Linux and Windows
Arch Linux
NodeJS: 18.7.0
NPM: 8.17.0

Windows 10
NodeJS:17.17.3
NPM:8.12.2

What happened?
Press CTRL + SHIFT + P, select JavaScript Standar Style: Fix all auto-fixable Problems and an error pops up. 'undefined is not validating any files yet Source StandardJS - JavaScript Standard Style (Extension)

What did you expect to happen?
The extension to format the document

Are you willing to submit a pull request to fix this bug?
Never done that before, but I am willing to learn

I also reverted back to the vscode-standardjs (old version) by Sam Chen using ext install chenxsan.vscode-standardjs. This package works as intended on both systems (Linux and Windows). This only started happening after I migrated to the new supported version

@NerdHarder615
Copy link
Author

since there has been no updates on this issue I have switched to eslint which works as expected. so I am closing this issue

@Robsonsjre
Copy link

Same issue..newer version of standardJS not working as intended

@kolyasya
Copy link

I can't get the VSCode extension as well, same issue

@maxwellsmart84
Copy link

// "editor.codeActionsOnSave": {
// "source.fixAll": "explicit",
// },

"standard.autoFixOnSave": true,

This fixed autosaving for me with standard - you have to disable vsCode's config

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

No branches or pull requests

4 participants