robatwilliams / es-compat

Check JavaScript code compatibility with target runtime environments
MIT License
65 stars 13 forks source link

Add a `recommended` config #13

Closed brettz9 closed 4 years ago

brettz9 commented 4 years ago

Thank you for the addition. Might you take a look at this one as well?

You can see some examples of other configs doing this at https://eslint.org/docs/developer-guide/working-with-plugins#configs-in-plugins (and many other plugins have such a feature).

robatwilliams commented 4 years ago

I'm on it as we speak :)

robatwilliams commented 4 years ago

Thanks. Few tweaks made as you can see above. I've now set up auto-build and required it to pass on PRs too.

brettz9 commented 4 years ago

Apologies for the lazy means of adding on this one (through Github rather than setting up whole environment)--had a bunch of other similar changes across other repos and figured this was slight enough to avoid need for checks--but never is! :)

robatwilliams commented 4 years ago

No worries, makes sense.

Released: https://github.com/robatwilliams/es-compat/releases/tag/v1.1.0