-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
Unify/modernize code with eslint - use let, drop Node 12 support #2584
base: develop
Are you sure you want to change the base?
Conversation
5f5eec0
to
c85fda9
Compare
@lubber-de also what are your thoughts on using even |
b5eaf14
to
1db3efe
Compare
PR is done. Most of the changes are done with autofix, so they can be reviewed by cherrypicking the |
Thanks. This has to wait until 2.10.x for the following reasons (i haven't reviewed yet!):
However, i'll try to review as quick as possible 😉 |
Fine for me. However: Same reasons as for |
710f05f
to
c2a37ce
Compare
c2a37ce
to
326a903
Compare
let
vsvar
declaration is safer, see https://stackoverflow.com/questions/762011/what-is-the-difference-between-let-and-var and is supported by every modern browser incl. IE11 - https://caniuse.com/?search=letalso Node 12 support is dropped as no longer supported by
eslint-plugin-unicorn
dep and it is EOLalso use
rgb(... x%)
instead ofrgba(...)