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

Convert JavaScript syntax so that we are using ES6 #68

Open
matthuynh opened this issue Apr 22, 2020 · 0 comments
Open

Convert JavaScript syntax so that we are using ES6 #68

matthuynh opened this issue Apr 22, 2020 · 0 comments
Labels
full-stack Features that require work in front-end, back-end, and middleware good first issue Good for newcomers refactor Clean up existing code

Comments

@matthuynh
Copy link
Member

For consistency in the codebase, all JavaScript code should convert to use ES6 syntax.

https://www.w3schools.com/js/js_es6.asp

What this means:

  • Use let instead of var
  • Use const when possible
  • Use arrow functions when possible
@matthuynh matthuynh added good first issue Good for newcomers full-stack Features that require work in front-end, back-end, and middleware refactor Clean up existing code labels Apr 22, 2020
@matthuynh matthuynh added this to the Deployment milestone Apr 22, 2020
@matthuynh matthuynh added this to To do in Deployment via automation Apr 22, 2020
@jcserv jcserv added this to To do in Infrastructure Apr 23, 2020
@jcserv jcserv removed this from To do in Deployment Apr 23, 2020
@jcserv jcserv modified the milestones: Deployment, Infrastructure Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full-stack Features that require work in front-end, back-end, and middleware good first issue Good for newcomers refactor Clean up existing code
Projects
Infrastructure
  
To do
Development

No branches or pull requests

2 participants