Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support ES5 and ES6/ES2015 projects #13

Open
nunofgs opened this issue Nov 18, 2015 · 1 comment
Open

Support ES5 and ES6/ES2015 projects #13

nunofgs opened this issue Nov 18, 2015 · 1 comment

Comments

@nunofgs
Copy link
Contributor

nunofgs commented Nov 18, 2015

This repository is only useful for ES6 projects since there are multiple rules that enforce ES6-only features.

I'd like to start a discussion regarding solving this issue for users who are still maintaining ES5 projects.

The way I see it, we have a few options:

  1. We can keep it as is and update the README.md to make it clear we do not support ES5 projects.
  2. We can split this repository into two:
    • eslint-config-seegno-es5 would contain the base rules.
    • eslint-config-seegno-es2015 would contain the ES2015-specific rules and would extend the es5 repo.
  3. We can update the README.md to instruct users on how to disable all ES6 rules if needed.

WDYT?

@ruimarinho
Copy link
Contributor

What about locally disabling ES6 parsing?

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants