Closed alexsorokoletov closed 7 years ago
standard-format
is deprecated, so you should use standard --fix
instead. This command fixes a lot, but not all errors. Fortunately, more errors become fixable with each release.
@alexsorokoletov:
Sam Chen's vscode-standardjs plugin includes a command to fix errors using --fix
:
Thank you, guys.
Hi! I initially found it as a problem with vscode-standard-format but then decided to check the
standard-format
andstandard
tools as well. We have codeRunning standard-format over it produces incorrect code:
Tried same code with
standard 1.js --fix
, produces just formatted code (no semantic change).Please advise.