I am using Beautify vscode plugin with a file: .jsbeautifyrc
But every time I saved my file, Beautify adds a ; at the end of line.
Before save:
this.user.name = 'Lucas Andrade'
After save:
this.user.name = 'Lucas Andrade';
But I don't want the ; at the end of line.
There is any configuration to tell Beautify to put nothing at the end of file ?
If you are using prettier: https://github.com/prettier/prettier-vscode#prettiersemi-default-true
Alternatively you need eslint rules.
VSCode Beautify plugin doesn't seem have a setting for removing semicolons.
EDIT: For the ones interested on how to actually configure prettier or eslint:
Prettier: "semi": false
ESLint: semi: "error"
(Note: You might want to run eslint --fix
after setting that rule)