Skip to content

Move to es6 #58

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

Merged
merged 2 commits into from
Nov 16, 2021
Merged

Move to es6 #58

merged 2 commits into from
Nov 16, 2021

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+
3 participants