Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint with tern & sublime #46

Open
angelozerr opened this issue Jul 6, 2014 · 1 comment
Open

Lint with tern & sublime #46

angelozerr opened this issue Jul 6, 2014 · 1 comment

Comments

@angelozerr
Copy link

@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.

@OKNoah
Copy link

OKNoah commented Mar 5, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants