My research hints that there is no way to have a JS file properly formatted without going through installations.I wonder whether there is a minimal effort way of doing it in vim.What are your opinions on that one? What do you recommend? Can't this be achieved by an appropriate configuration of a .vimrc file?
Minimal to effort to have a JS beautifier on vim
vimrc;filetype javascript