-
Notifications
You must be signed in to change notification settings - Fork 259
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
Update code style and dependencies #498
base: master
Are you sure you want to change the base?
Update code style and dependencies #498
Conversation
## Summary - Update URLs in .editorconfig and .jshintrc files - Add new rules to .eslintrc file for code style consistency - Remove .jshintrc file - Update node.js versions in .travis.yml file ## Details The URLs in the `.editorconfig` and `.jshintrc` files were updated to use HTTPS instead of HTTP. In addition, the `.eslintrc` file was updated with new rules for code style consistency, including requiring `let` or `const` instead of `var`, enforcing spacing before blocks and functions, requiring parens in arrow function arguments, using template literals instead of string concatenation, and more. The `.jshintrc` file was removed as it is no longer needed. Finally, the node.js versions in the `.travis.yml` file were updated to include newer versions. ## Statistics - 5 files changed, 1 deleted - 23 insertions(+), 141 deletions(-) No dependency updates found.
Thanks for submitting this pull request, @luislobo! We'll look at it ASAP. In the mean time, here are some ways you can help speed things along:
Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly. For help with questions about Sails, click here. |
6ea76f9
to
734b772
Compare
We should merge this PR and then upgrade the mongo driver to the latest version. We should have mongo 5, 6 and 7 working properly. @luislobo can you give us some updates? Where should we focus? |
I can work on this during these days. I'm really short on time but can get it working. I don't think it's worth testing on AppVeyor. I can test on the newest drivers too. |
I don't mind working on the new drivers implementation. But your PR is great, so I think that the best way here is, first get this PR merged and then implement the new drivers on top of your work. If you want to add the new drivers in this current PR that would be awesome too. |
I'd prefer to do it on a separate one as this one is focused on CI/CD, test updates and code cleanup. @mikermcneil @eashaw How do you want to move forward on this module maintenance? |
84a9c3c
to
89a4799
Compare
89a4799
to
ee715f6
Compare
@Josebaseba I've been helping @DominusKelvin on MongoDB driver updates and some of the var -> let/const conversions. Can you please take a look at that PR? The plan is to move that one forward. |
Yes @Josebaseba The PR mentioned will automatically have most of the changes that this PR would have added to sails-mongo |
Summary
Details
The URLs in the
.editorconfig
and.jshintrc
files were updated to use HTTPS instead of HTTP. In addition, the.eslintrc
file was updated with new rules for code style consistency, including requiringlet
orconst
instead ofvar
, enforcing spacing before blocks and functions, requiring parens in arrow function arguments, using template literals instead of string concatenation, and more.The
.jshintrc
file was removed as it is no longer needed. Finally, the node.js versions in the.travis.yml
file were updated to include newer versions.