diff --git a/README.md b/README.md index 77d290d..59a2d43 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ then to run: ### Tools -Extensions(92) | Tools(60) +Extensions(93) | Tools(61) ----------:| ----- .* | [contents](http://pygments.org/) • metadata • [git_blame](https://git-scm.com/docs/git-blame) • [git_log](https://git-scm.com/docs/git-log) .py | [python_syntax](https://en.wikipedia.org/wiki/Python_syntax_and_semantics) • [python_unittests](https://docs.python.org/3/library/unittest.html) • [pydoc](https://docs.python.org/3/library/pydoc.html) • [mypy](http://www.mypy-lang.org/) • [python_coverage](http://nedbatchelder.com/code/coverage/) • [pycodestyle](https://pypi.python.org/pypi/pycodestyle) • [pydocstyle](http://pydocstyle.readthedocs.org/) • [pyflakes](https://launchpad.net/pyflakes) • [pylint](http://www.pylint.org/) • [python_gut](https://github.com/ahamilton/vigil/blob/master/gut.py) • [python_modulefinder](https://docs.python.org/3/library/modulefinder.html) • [dis](https://docs.python.org/3/library/dis.html) • [python_mccabe](https://github.com/flintwork/mccabe) • [bandit](https://wiki.openstack.org/wiki/Security/Projects/Bandit) @@ -35,6 +35,7 @@ Extensions(92) | Tools(60) .cc .cpp .hpp | [cpp_syntax_gcc](https://gcc.gnu.org/) • bcpp • [uncrustify](https://github.com/uncrustify/uncrustify) • [cppcheck](http://sourceforge.net/p/cppcheck/wiki/Home/) .rb | [ruby_syntax](http://www.ruby-lang.org/) .lua | [lua_syntax](http://www.lua.org) • [lua_check](https://github.com/mpeterv/luacheck) +.js | [js_syntax](http://nodejs.org/) .pdf | [pdf2txt](http://www.unixuser.org/~euske/python/pdfminer/) .html .htm | [html_syntax](http://www.html-tidy.org/) • [tidy](http://www.html-tidy.org/) • [html2text](http://www.mbayer.de/html2text/) • [pandoc](https://pandoc.org/) .php | [php7_syntax](https://en.wikipedia.org/wiki/PHP) diff --git a/vigil/tools.toml b/vigil/tools.toml index 6abc9d7..c4b279b 100644 --- a/vigil/tools.toml +++ b/vigil/tools.toml @@ -17,6 +17,7 @@ tools_for_extensions = [ "cppcheck"]], [["rb"], ["ruby_syntax"]], [["lua"], ["lua_syntax", "lua_check"]], + [["js"], ["js_syntax"]], [["pdf"], ["pdf2txt"]], [["html", "htm"], ["html_syntax", "tidy", "html2text", "pandoc"]], [["php"], ["php7_syntax"]], @@ -200,6 +201,11 @@ tools_for_extensions = [ url = "lua5.3" command = "luac -p" +[js_syntax] + dependencies = ["nodejs"] + url = "nodejs" + command = "node --check" + [lua_check] dependencies = ["lua-check"] url = "lua-check"