Skip to content

Build: Update to the latest version of Grunt & many other packages #1882

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

Conversation

realsircodesalot
Copy link
Contributor

@realsircodesalot realsircodesalot commented Jan 26, 2019

Closes trac-15112

@jsf-clabot
Copy link

jsf-clabot commented Jan 26, 2019

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

@realsircodesalot
Copy link
Contributor Author

In this configuration I was able to update grunt to the latest version and have it still process & test the files without failure.

I would recommend migrating away from jscs to eslint as the jscs team has been working with eslint for some time (please see the node-jscs repo, their Medium article and user guide for migrating to eslint). However, that being said, I've attempted this locally, and the tests resulted in failure because of syntax errors (mainly with spacing) which I believe may be related to the jquery eslint rule set.

In addition, there was some CSS & HTML syntax rule issues when I upgraded grunt-contrib-csslint and grunt-html to latest.

I can upgrade these as well, however that would mean addressing the syntax issue(s) as well. If that's not an issue, I can proceed with that as well.

@realsircodesalot
Copy link
Contributor Author

Just saw the Travis CI result which is what I was seeing when I updated grunt-jscs. It worked for me locally, but that may have been a fluke as I was upgrading/downgrading npm packages.

Should I address the syntax warnings as well?

@dmethvin
Copy link
Member

@Mikhey Thanks, and sorry for the long delay! I agree we'd like to move to eslint, are you interested in doing that? Just the upgrade to the latest grunt will help.

@realsircodesalot
Copy link
Contributor Author

My apologies for not getting back to you sooner! I would love to help out with that!

@mgol mgol force-pushed the 15112-update-system-to-use-latest-version-of-grunt branch from 1f0b500 to e50f272 Compare October 14, 2020 16:33
JSHint, JSCS & QUnit-related packages are not updated as they need more code
adjustments.

Closes gh-15112
@mgol mgol force-pushed the 15112-update-system-to-use-latest-version-of-grunt branch from e50f272 to fc44dc1 Compare October 14, 2020 21:46
@mgol mgol changed the title Build: Updated build system to latest version of grunt Build: Update to the latest version of Grunt & many other packages Oct 14, 2020
@mgol mgol merged commit fd00888 into jquery:master Oct 14, 2020
mgol pushed a commit that referenced this pull request Oct 14, 2020
JSHint, JSCS & QUnit-related packages are not updated as they need more code
adjustments.

Fixes #15112
Closes gh-1882
@mgol
Copy link
Member

mgol commented Oct 14, 2020

I updated a few more packages & landed the PR in a22361d. Thanks!

@mgol
Copy link
Member

mgol commented Oct 15, 2020

@Mikhey Are you still interested in trying to migrate us to ESLint? We'd use eslint-config-jquery.

@mgol mgol added this to the 1.13 milestone Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants