That’s a really cool idea! You can take it even further I think by creating 
rules that would detect comparison of variables of different types, or coercion 
between different types. I really like the idea to generate schema from the 
swagger. This is basically could replace (to the point) TernJS.

 

Thanks,

 

                                Ilya Volodin

 

From: [email protected] [mailto:[email protected]] On Behalf Of 
Roman Krivtsov
Sent: Sunday, June 12, 2016 12:35 PM
To: ESLint <[email protected]>
Subject: [ESLint] TypeLint – ESlint rule for optional typing in JavaScript, 
based on JSDoc

 

Hi everyone!

I wrote an ESLint rule for optional typing in JavaScript using JSDoc and JSON 
Schema for complex types. Please check it out https://github.com/yarax/typelint

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected] 
<mailto:[email protected]> .
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to