Skip to content

Conversation

@mgol
Copy link
Member

@mgol mgol commented Feb 24, 2020

Summary

Node.js code is written more & more commonly in ES6+ so it doesn't make sense
to enable it there. There are many violations in test code so it's disabled
there as well.

Checklist

… code

Node.js code is written more & more commonly in ES6+ so it doesn't make sense
to enable it there. There are many violations in test code so it's disabled
there as well.
@mgol mgol removed the Needs review label Mar 2, 2020
@mgol mgol changed the title Build: Enable the ESLint one-var rule for var declarations in browser code Build: Enable ESLint one-var rule for var declarations in browser code Mar 2, 2020
@mgol mgol merged commit 4a7fc85 into jquery:master Mar 2, 2020
@mgol mgol deleted the eslint-one-var branch March 2, 2020 21:25
@mgol mgol added this to the 3.5.0 milestone Mar 2, 2020
mgol added a commit that referenced this pull request Mar 2, 2020
Node.js code is written more & more commonly in ES6+ so it doesn't make sense
to enable it there. There are many violations in test code so it's disabled
there as well.

Closes gh-4615

(cherry picked from commit 4a7fc85)
@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.

2 participants