tools: Added node to syntax check javascript.
This commit is contained in:
parent
896edecd23
commit
5f6c2b58bf
2 changed files with 8 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ then to run:
|
||||||
|
|
||||||
### Tools
|
### 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)
|
.* | [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)
|
.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/)
|
.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/)
|
.rb | [ruby_syntax](http://www.ruby-lang.org/)
|
||||||
.lua | [lua_syntax](http://www.lua.org) • [lua_check](https://github.com/mpeterv/luacheck)
|
.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/)
|
.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/)
|
.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)
|
.php | [php7_syntax](https://en.wikipedia.org/wiki/PHP)
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ tools_for_extensions = [
|
||||||
"cppcheck"]],
|
"cppcheck"]],
|
||||||
[["rb"], ["ruby_syntax"]],
|
[["rb"], ["ruby_syntax"]],
|
||||||
[["lua"], ["lua_syntax", "lua_check"]],
|
[["lua"], ["lua_syntax", "lua_check"]],
|
||||||
|
[["js"], ["js_syntax"]],
|
||||||
[["pdf"], ["pdf2txt"]],
|
[["pdf"], ["pdf2txt"]],
|
||||||
[["html", "htm"], ["html_syntax", "tidy", "html2text", "pandoc"]],
|
[["html", "htm"], ["html_syntax", "tidy", "html2text", "pandoc"]],
|
||||||
[["php"], ["php7_syntax"]],
|
[["php"], ["php7_syntax"]],
|
||||||
|
|
@ -200,6 +201,11 @@ tools_for_extensions = [
|
||||||
url = "lua5.3"
|
url = "lua5.3"
|
||||||
command = "luac -p"
|
command = "luac -p"
|
||||||
|
|
||||||
|
[js_syntax]
|
||||||
|
dependencies = ["nodejs"]
|
||||||
|
url = "nodejs"
|
||||||
|
command = "node --check"
|
||||||
|
|
||||||
[lua_check]
|
[lua_check]
|
||||||
dependencies = ["lua-check"]
|
dependencies = ["lua-check"]
|
||||||
url = "lua-check"
|
url = "lua-check"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue