Skip to content
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

cherry-pick eslint update to v4.x #4721

Closed
wants to merge 6 commits into from

Conversation

targos
Copy link
Member

@targos targos commented Jan 16, 2016

No description provided.

On case-insensitive platorms, the Debug/ rule catches the debug module
under npm and eslint.

PR-URL: nodejs#2286
Reviewed-By: Roman Reiss <me@silverwind.io>
PR-URL: nodejs#2286
Reviewed-By: Roman Reiss <me@silverwind.io>
The no-reserved-keys rule doesn't exist anymore and we don't need ES3
compatibility.
escape and unescape are now known by eslint.
--reset flag was removed and it is now the default behavior.

PR-URL: nodejs#2286
Reviewed-By: Roman Reiss <me@silverwind.io>
With an indentation style of two spaces, it is not possible to indent
multiline variable declarations by four spaces. Instead, the var keyword
is used on every new line.
Use const instead of var where applicable for changed lines.

PR-URL: nodejs#2286
Reviewed-By: Roman Reiss <me@silverwind.io>
PR-URL: nodejs#2286
Reviewed-By: Roman Reiss <me@silverwind.io>
Replace var keyword with const or let.

PR-URL: nodejs#2286
Reviewed-By: Roman Reiss <me@silverwind.io>
@targos targos added tools Issues and PRs related to the tools directory. lts-watch-v4.x labels Jan 16, 2016
@targos
Copy link
Member Author

targos commented Jan 16, 2016

Original PR: #2286

@targos
Copy link
Member Author

targos commented Jan 16, 2016

@silverwind
Copy link
Contributor

LGTM

@targos targos added test Issues and PRs related to the tests. lib / src Issues and PRs related to general changes in the lib or src directory. labels Jan 16, 2016
@jasnell
Copy link
Member

jasnell commented Jan 18, 2016

LGTM, but since this is such a huge edit I propose waiting to land until after 4.2.5. We'll be spinning up a 4.3.0 soon after. /cc @nodejs/lts

@MylesBorins
Copy link
Contributor

landed in 97a5b16...2f78b65

@targos targos deleted the eslint-v4.x branch March 7, 2016 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib / src Issues and PRs related to general changes in the lib or src directory. test Issues and PRs related to the tests. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants