🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Jan 21, 2020

Summary

Code in gh-4594 configured ESLint properly but didn't change the Gruntfile.js
config to actually lint the minified file. This has now been fixed.

Fixes gh-3075
Ref gh-4594

Checklist

@mgol mgol added this to the 4.0.0 milestone Jan 21, 2020
@mgol mgol self-assigned this Jan 21, 2020
@mgol mgol changed the title Build: Lint the minified jQuery file as well - a Grutfile fix Build: Lint the minified jQuery file as well - a Gruntfile fix Jan 21, 2020
@mgol mgol force-pushed the eslint-minified-fix branch from 179e2b6 to 3b71c37 Compare January 21, 2020 13:06
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
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 mgol force-pushed the eslint-minified-fix branch from 3b71c37 to 695ecae Compare January 21, 2020 13:13
@mgol mgol merged commit 338f1fc into jquery:master Jan 27, 2020
@mgol mgol deleted the eslint-minified-fix branch January 27, 2020 18:21
@mgol mgol removed the Needs review label Jan 27, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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