Open angelozerr opened 10 years ago
Other editors
If you wish to integrate the tern lint with an editor (Vim, Sublime, etc), here the JSON request to post to the tern server :
{
"query": {
"type": "lint",
"file": "test.js",
"files": [
{
"name": "test.js",
"text": "var elt = document.getElementByIdXXX('myId');",
"type": "full"
}
]
}
}
Not quite a plugin, but nice start.
@marijnh I have started a lint tern plugin at https://github.com/angelozerr/tern.lint
CodeMirror, Eclipse, Emacs And Atom have implemented marker to support lint. If you are interested you could implement marker with sublime to use the tern plugin lint.
Don't hesitate to contact me if you need some info about the tern lint.