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

v7.x backport: tools: update ESLint to current version #11009

Closed
wants to merge 4 commits into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Jan 26, 2017

Backport of #10561

Trott added 4 commits January 25, 2017 16:43
Formatting changes for upcoming linter update.

PR-URL: nodejs#10561
Reviewed-By: Teddy Katz <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
We have been stalled on ESLint 3.8.0 for some time. Current ESLint is
3.13.0. We have been unable to upgrade because of more aggressive
reporting on some rules, including indentation.

ESLint configuration options and bugfixes are now such that we can
reasonably upgrade.

PR-URL: nodejs#10561
Reviewed-By: Teddy Katz <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
ESLint `indent` rule now has options that duplicate functionality in our
custom `align-function-arguments` rule. Remove
`align-function-arguments` custom rule.

PR-URL: nodejs#10561
Reviewed-By: Teddy Katz <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
The `no-useless-regex-char-class-escape` custom lint rule was introduced
as a less aggressive alternative to some enhancements that were
introduced into ESLint. Those enhancements were blocking us from
updating ESLint. However, they have since been relaxed and the custom
rule is no longer needed. Remove it.

PR-URL: nodejs#10561
Reviewed-By: Teddy Katz <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
@Trott Trott added the tools Issues and PRs related to the tools directory. label Jan 26, 2017
@nodejs-github-bot nodejs-github-bot added module Issues and PRs related to the module subsystem. os Issues and PRs related to the os subsystem. repl Issues and PRs related to the REPL subsystem. util Issues and PRs related to the built-in util module. v7.x labels Jan 26, 2017
@mscdex mscdex removed module Issues and PRs related to the module subsystem. os Issues and PRs related to the os subsystem. repl Issues and PRs related to the REPL subsystem. util Issues and PRs related to the built-in util module. labels Jan 26, 2017
@Trott
Copy link
Member Author

Trott commented Jan 27, 2017

If I understand correctly, @italoacasas has cherry-picked these to the necessary branch and this backport is no longer needed. Re-open and/or comment if I'm mistaken. Thanks! Closing.

@Trott Trott closed this Jan 27, 2017
@sam-github
Copy link
Contributor

I hope he got my fix for

entr: cannot stat 'tools/eslint/node_modules/.bin/eslint': No such file or directory

I'll check.

@sam-github
Copy link
Contributor

@italoacasas #9299 is missing from v7.x-staging.

@italoacasas
Copy link
Contributor

@sam-github that commit was part of v7.1.0, I'm missing something here?

@sam-github
Copy link
Contributor

Maybe I am, @italoacasas

https://github.com/nodejs/node/tree/master/tools/eslint/node_modules/.bin has no eslint symlink.

https://github.com/nodejs/node/tree/v7.x-staging/tools/eslint/node_modules/.bin does have one, and it points to a non-existent file.

It looks to be because #10771 is missing, not #9299. Sorry, I had to remove it twice, it keeps getting added back.

This means that the commits on master aren't on staging. Just FYI. I don't know if they are intended to be, or not, at this point.

@MylesBorins
Copy link
Contributor

This does not land cleanly in LTS. Added dont-land label. Please feel free to manually backport

@Trott Trott deleted the eslint-v7.x-staging branch January 13, 2022 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants