Skip to content

Build: Lint the minified jQuery file as well #4594

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 1 commit into from
Jan 21, 2020

Conversation

mgol
Copy link
Member

@mgol mgol commented Jan 17, 2020

Summary

While we have absolutely no style-related expectations to our minified file,
we do care that it's valid ES 5.1. This is now verified.

Fixes gh-3075

Checklist

Sorry, something went wrong.

While we have absolutely no style-related expectations to our minified file,
we do care that it's valid ES 5.1. This is now verified.

Fixes jquerygh-3075
@mgol mgol removed the Needs review label Jan 21, 2020
@mgol mgol merged commit 89a18de into jquery:master Jan 21, 2020
@mgol mgol deleted the eslint-minified branch January 21, 2020 12:51
mgol added a commit to mgol/jquery that referenced this pull request Jan 21, 2020
Code in jquerygh-4594 configured ESLint properly but didn't change the Gruntfile.js
config to actually lint the minified file. This has now been fixed.

Fixes jquerygh-3075
Ref jquerygh-4594
mgol added a commit to mgol/jquery that referenced this pull request Jan 21, 2020
While we have absolutely no style-related expectations to our minified file,
we do care that it's valid ES 5.1. This is now verified.

Fixes jquerygh-3075
Closes jquerygh-4594
mgol added a commit that referenced this pull request Jan 21, 2020
While we have absolutely no style-related expectations to our minified file,
we do care that it's valid ES 5.1. This is now verified.

Also, update grunt-eslint as a newer ESLint version is required to be able
to use "extends" inside of the "overrides" section.

Fixes gh-3075
Closes gh-4594
Ref gh-4598
@mgol
Copy link
Member Author

mgol commented Jan 21, 2020

Landed on master at 89a18de & on 3.x-stable at 37df5cd. The master version needs a hotfix, submitted in #4598. The 3.x-stable version is fine.

mgol added a commit to mgol/jquery that referenced this pull request Jan 21, 2020
While we have absolutely no style-related expectations to our minified file,
we do care that it's valid ES 5.1. This is now verified.

Fixes jquerygh-3075
Closes jquerygh-4594
mgol added a commit that referenced this pull request Jan 27, 2020
While we have absolutely no style-related expectations to our minified file,
we do care that it's valid ES 5.1. This is now verified.

Fixes gh-3075
Ref gh-4594
Closes gh-4598
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Check minified code for syntax errors (e.g. by trying to construct an AST)
2 participants