As a developer and VIM enthusiast I heavily rely on tools to fix my code. I just want to write, and let the program worry about making it adhere to code standards.
Furthermore, I would like to see linting errors.
The setup is quite easy, if you know what you have to do. But for some frameworks, like Svelte.js, it get's more complicated. You have to tweak the configuration to make it work. Plus, you have to make sure it also works with ALE.
Additionally, ESLint sometimes throws parsing errors which you have to debug.
prettier and standard brought together
While standard is a linter, prettier-standard is a formatter. You don't have to fix any warnings anymore
This tool combines the linter standard.js with the code formatter prettier.
Check out the github repository for instructions.
It's as easy as installing an NPM package:
yarn add --dev prettier-standard
ALE also supports prettier-standard:
If you are ok with standard's decisions on code style, and would like to bolt on code formatting with prettier, you should give prettier-standard a try.
The setup is less hassle and results in fewer parsing errors.