Atom autopep8 equivalent for javascript?


I’ve googled atom JavaScript auto formater and didn’t found an alternative to auto format my Javascript code in atom.

the result are for js beatify that do not do my bidding…

help appreciated,

GPT3 is not a valid solution :slight_smile:

I haven’t set one up in a while, but eslint is a solid formatter (and linter) for JS. I believe there are packages that connect it to Atom, but I think I just set up a git hook to run it before each commit. There are also things like prettier which are built on eslint.

Thanks, just saw the set: fix errors on save in the linter-eslint plugin options. :upside_down_face: