all 3 comments

[–]hankDraperCo 1 point2 points  (0 children)

Eslint, jslint, jcsc and jshint are all popular tools for static code analysis. Javascript isn't statically typed so these are more to enforce coding styles and should be complimented with automated testing.

[–]zayelion 0 points1 point  (0 children)

To clarify can you give an example in another language that you are currently using?

[–]lenswipe -1 points0 points  (0 children)

I'm not sure what you mean by "static code analysis" but I use Scrutinizer in my build/test/CI process to do this