I don’t know what standard JS is, but a quick search suggests a linting tool. Assuming it outputs in a sensible format, you should be able to:
set buffer lintcmd /path/to/standardjs
and then the :lint command will run the tool over the buffer and put a little symbol in the left-hand margin of lines that have problems. Moving the primary cursor to such a line should display the error message in a tooltip.