Skip to content

Conversation

@Trott
Copy link
Member

Backport of #10561

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]>
@TrottTrott added the tools Issues and PRs related to the tools directory. label Jan 26, 2017
@nodejs-github-botnodejs-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
@TrottTrott mentioned this pull request Jan 26, 2017
2 tasks
@mscdexmscdex 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
MemberAuthor

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.

@TrottTrott 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

@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

@TrottTrott deleted the eslint-v7.x-staging branch January 13, 2022 22:42
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@Trott@sam-github@italoacasas@MylesBorins@mscdex@nodejs-github-bot