uber / standard

JavaScript Standard Style — One Style to Rule Them All
MIT License
70 stars 8 forks source link

eslint new rules in 0.24.0 for ES5 mode #21

Closed andrewdeandrade closed 9 years ago

andrewdeandrade commented 9 years ago

There are a bunch of new rules in eslint 0.24.0. This thread is to evaluate which rules we'll enable for the next major release.

Here are the rules I identified as candidates for inclusion as an error:

The no-restricted-modules rules will be enabled for ES5 mode to disallow underscore and lo-dash modules.

FWIW, ES5 mode mainly affect those writing reusable front end libraries and working with NodeJS projects.

@Raynos @lxe @mlmorg @johnmegahan @jcorbin @kriskowal

Raynos commented 9 years ago

Please open a PR for discussion instead of an issue.

Raynos commented 9 years ago

Talking about real code that we want to ship rather then ideas is more effective.

andrewdeandrade commented 9 years ago

Most of these are now in this PR: https://github.com/uber/standard/pull/24