You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
I would like to know if could interest to work together about managing validation with Tern? The basic idea is to provide a tern plugin to use the file ast and validate the JS file. I have started to implement a simple POC which validates the property of object (ex : document.getEl add a warn message which says "getEl" is a unknown property).
This would be an interesting experiment, but there will likely be some issues because of how dynamic JS is. It's hard to know for sure when something is defined or not.
I'd suggest bringing this up on the brackets-dev googlegroup to see if there are others who want to explore this with you. (I've also given this issue the Extension Idea label which some people search for when looking for things to build)
Jus for your information, I have created https://github.com/angelozerr/tern.lint project. It contains both tern lint plugin and CodeMirror lint addon which uses this tern lint plugin.
Hi bracket guys,
I would like to know if could interest to work together about managing validation with Tern? The basic idea is to provide a tern plugin to use the file ast and validate the JS file. I have started to implement a simple POC which validates the property of object (ex : document.getEl add a warn message which says "getEl" is a unknown property).
Here a screenshot with CodeMirror :
I have spoken about this feature to Marijn but he wishes not to integrate it to tern, because he has no time to maintain it. See my message at https://groups.google.com/forum/#!topic/codemirror/uHgcDjh6yRc
Hope this idea could interest you.
Regards Angelo
The text was updated successfully, but these errors were encountered: