3 ms·
Make sure to checkout http://ternjs.net/ http://ternjs.net/ too. It does not have types validation I believe, but it does many other things and in combination w
by hippich 12y ago
Make sure to checkout http://ternjs.net/ http://ternjs.net/ too. It does not have types validation I believe, but it does many other things and in combination with eslint allows catching most errors before packaging.
Tern.js actually detect types, and may be it would be possible for eslint to incorporate it somehow to detect invalid use of types.
One big ternjs plus for me is the fact that tern.js knows about require.js modules and can look in other require'd files.
- nilliams 12y agoThanks, I remember seeing this a while back but didn't realise it was RequireJS-aware. The demo is pretty great.