-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fix complexity of close method #1641
Conversation
Pull Request Test Coverage Report for Build 5098
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @JulianoGTZ
A few small changes before merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @JulianoGTZ!
Thanks @JulianoGTZ for your help! For the future you may want to install some plugin in your IDE for highlighting linting/formatting errors. I've found few empty lines an extra spaces scattered around your code. I personally use StandardJS and its VSC plugin. @limonte I'm going to adjust those in my next PR to fix #1640 |
As per email agreement with @JulianoGTZ I just sent the invitation to become SweetAlert2's collaborator. Welcome aboard @JulianoGTZ 🍻 Also, @gverni I granted you the owner permissions to the org, if a bus-factor will happen to me, I believe you'll not allow SweetAlert2 to fade away. As to formatting rules, we should add those rules about spaces to our eslint config to enforce the coding style. @gverni I believe this one is what you're talking about https://eslint.org/docs/rules/space-in-parens |
Done in 80e04f0 cc @gverni |
Thanks @limonte! It was exactly that...
I'm honored @limonte, thank you so much! I love this project, and I'll do my best! But be careful with 🚌 out there 😄 |
@limonte, how about adding also: I'm taking inspiration from https://github.com/standard/eslint-config-standard. We can also merge more settings from there (where we see fit). Let me know if you are in favor and I can open a PR for that. |
Why not to extend it then instead of copy-pasting rules? #1643 |
🎉 This PR is included in version 8.13.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Separate some responsibilities relative to animation on the close method.
Fixes #1531