artoale / atom-tern

Tern plugin for atom editor
MIT License
37 stars 3 forks source link

Add support for lint #15

Open angelozerr opened 10 years ago

angelozerr commented 10 years ago

It shoud be cool if atom editor could displays errors of the tern lint https://github.com/angelozerr/tern-lint which is a tern plugin to to validate JS files with tern.

You can see what tern lint is able to validate here => https://github.com/angelozerr/tern-lint/wiki/Validation-Rules

sclausen commented 9 years ago

just for curiosity, whats better with tern-lint than atom-linter etc.?

angelozerr commented 9 years ago

just for curiosity, whats better with tern-lint than atom-linter etc.?

tern-lint doesn't manages syntax validation but manages "semantic" validation like

sclausen commented 9 years ago

Okay, the available linters for atom can see unused variables and functions, but invalid agument types not ;) Didn't know that tern-lint was capable of this. :+1:

angelozerr commented 9 years ago

Didn't know that tern-lint was capable of this

Glad that tern-lint feature seems pleased you. A feature that I have missed is that each tern plugin can implements their lint function.

You can see screenshot of this feature with tern-tabris : https://github.com/eclipsesource/tabris-js/issues/180#issuecomment-65137514