Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

refactoring to ES6? #10

Open
tarang9211 opened this issue Jan 20, 2017 · 4 comments
Open

refactoring to ES6? #10

tarang9211 opened this issue Jan 20, 2017 · 4 comments

Comments

@tarang9211
Copy link
Contributor

Hey, looking to contribute to this! Does any of this codebase require refactoring to ES6?

@TheLarkInn
Copy link
Member

TheLarkInn commented Jan 20, 2017

Make sure you are using a good eslint editor (I use VSCODE and it is very effective). We use node-eslint-plugin so that we are not using es6 features not compatible with node 4.3. Any time you use let and const make sure you add "use strict" to top of file. And we do not process our library with any transpilers so extra babel features are not desirable.

Extra Credit:

  • Adding more tests
  • Adding benchmarking suite (to verify performance changes or regressions)

@TheLarkInn
Copy link
Member

Hi @tarang9211 I accidentally closed this PR #11 via me making the mistake of accidentally doing a git push to master after fixing your branch when I checked it out. Is there any way you could reopen it please? Thanks and sorry for the trouble.

@TheLarkInn
Copy link
Member

So remaining things to fix on the checklist: (based on your PR):

  • Add engines property that is equal to the one also found in webpack/webpack package.json
  • Add files property and add [/lib] in package.json

These should fix the errors you were seeing.

@tarang9211
Copy link
Contributor Author

@TheLarkInn no worries, I just reopened it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants