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
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue