ES2015 standards

Open
#167 16 comments 26 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
express, javascript, nodejs
Domain
cli, tooling

Research direction

Inspect the generator's application templates and current JavaScript syntax, then run the generator to capture its existing output. Done means the generated project consistently uses the proposed ES2015 syntax, with the project's compatibility expectations understood and documented.

Written by the indexing model from the issue text.

Description

good first contribution

Hi,

I am using this generator to kickstart most of my ExpressJS projects, and it's real good, but I always wonder why you use var and functions instead of let/const and arrow functions?
I always change it myself when I kickstart a project.

Is there any particular reason for that? If not, I can make change and and create a pull request.

Dominant language
JavaScript
Stars
1.9k
Forks
548
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from expressjs/generator

All issues in expressjs/generator

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.