Skip to content

Conversation

@jankapunkt
Copy link
Member

Summary

Upgrades all code from ES5 to ES6, where possible.

Non-breaking.

Linked issue(s)

#54 and #5

Involved parts of the project

Every js file, including tests, plus .eslintrc and package.json

Added tests?

Added npm scripts lint and lint:fix which can now be used in ci as well

OAuth2 standard

No changes in behavior

Reproduction

$ git checkout move-to-es6
$ npm run lint
$ npm run test

@jankapunkt jankapunkt added enhancement ✨ New feature or request code quality 🧽 Relating to code quality labels Nov 11, 2021
@jankapunkt jankapunkt self-assigned this Nov 11, 2021
@jankapunkt jankapunkt linked an issue Nov 11, 2021 that may be closed by this pull request
Copy link
Contributor

@jwerre jwerre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a couple of spots that may be problematic where const is used instead of let.

@jwerre jwerre marked this pull request as ready for review November 14, 2021 15:37
@jwerre
Copy link
Contributor

jwerre commented Nov 15, 2021

@HappyZombies Can you approve this?

@HappyZombies
Copy link
Member

Approved!

Copy link
Member

@HappyZombies HappyZombies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@jankapunkt jankapunkt merged commit 1f88d0e into development Nov 16, 2021
@jankapunkt jankapunkt deleted the move-to-es6 branch November 16, 2021 09:48
@jankapunkt jankapunkt mentioned this pull request Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code quality 🧽 Relating to code quality enhancement ✨ New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modernize code to ES6+

4 participants