on2-dev / share-api-polyfill

A polyfill for the sharing that can be used in the desktop, too, so your users can share in their Twitter, Facebook, Messenger, LinkedIn, SMS, e-mail, print, Telegram or WhatsApp.
MIT License
262 stars 44 forks source link

Suggest use ESLint or TypeScript + TSLint #12

Open doggy8088 opened 5 years ago

doggy8088 commented 5 years ago

I think use ESLint or TypeScript + TSLint can improve code quality and better version control. Especially the code format issues.

felipenmoura commented 5 years ago

Yes, that IS indeed important.

I didn't do it at first time as I was intending to do it quickly and useful for a spacific need of mine, and then decided to open it. The build process could actually import languages and styles from separate files as well. I just expect the ending result in dist to be a single js file, for easier adoption and loading time :)