Thanks for feedback! Yes, I have plans about passing throw and assigning variables. Also the goal is to support as much data shape describers as possible (Mongoose schemas, GraphQL, JSDoc deftype etc.) Hope it will be helpful for community
воскресенье, 12 июня 2016 г., 19:27:05 UTC+2 пользователь Ilya Volodin написал: > > 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] <javascript:> [mailto: > [email protected] <javascript:>] *On Behalf Of *Roman Krivtsov > *Sent:* Sunday, June 12, 2016 12:35 PM > *To:* ESLint <[email protected] <javascript:>> > *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] <javascript:>. > 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.
