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

tools: enable ESLint quote-props rule #19156

Closed
wants to merge 2 commits into from
Closed

Conversation

Trott
Copy link
Member

@Trott Trott commented Mar 5, 2018

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

tools

In preparation for a linting rule, use consistent quotation for
properties in objects.
@Trott Trott added the tools Issues and PRs related to the tools directory. label Mar 5, 2018
@Trott
Copy link
Member Author

Trott commented Mar 5, 2018

@nodejs/linting

@Trott
Copy link
Member Author

Trott commented Mar 5, 2018

@BridgeAR BridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 6, 2018
@vsemozhetbyt
Copy link
Contributor

Would consistent-as-needed be a bit more protective? It may not require any other changes in the PR but may protect against unneeded quotes in the future.

@Trott
Copy link
Member Author

Trott commented Mar 6, 2018

Would consistent-as-needed be a bit more protective? It may not require any other changes in the PR but may protect against unneeded quotes in the future.

@vsemozhetbyt consistent-as-needed would require around 500 changes across more than 70 files. That was above my comfort level, especially since I'll be the one back-porting. :-D

We can consider moving to that in a subsequent PR, perhaps.

@vsemozhetbyt
Copy link
Contributor

Oops, sorry, did not suspect this. Sorry for not checking this by myself.

@BridgeAR BridgeAR added the fast-track PRs that do not need to wait for 48 hours to land. label Mar 6, 2018
Trott added a commit to Trott/io.js that referenced this pull request Mar 8, 2018
In preparation for a linting rule, use consistent quotation for
properties in objects.

PR-URL: nodejs#19156
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Roman Reiss <me@silverwind.io>
Trott added a commit to Trott/io.js that referenced this pull request Mar 8, 2018
Refs: nodejs#19100 (comment)
PR-URL: nodejs#19156
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Roman Reiss <me@silverwind.io>
@Trott
Copy link
Member Author

Trott commented Mar 8, 2018

Landed in 3c31bff and ebfed17

@Trott Trott closed this Mar 8, 2018
targos pushed a commit that referenced this pull request Mar 17, 2018
In preparation for a linting rule, use consistent quotation for
properties in objects.

PR-URL: #19156
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Roman Reiss <me@silverwind.io>
@targos targos mentioned this pull request Mar 18, 2018
@MylesBorins
Copy link
Contributor

This needs to be backported along with #18566

MylesBorins pushed a commit that referenced this pull request Mar 20, 2018
In preparation for a linting rule, use consistent quotation for
properties in objects.

PR-URL: #19156
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Roman Reiss <me@silverwind.io>
@Trott
Copy link
Member Author

Trott commented Apr 25, 2018

@MylesBorins One of the two commits in this PR is already in v9.x-staging and the other one probably shouldn't go in. So I think this doesn't need a backport anymore, at least not to v9.x-staging. I'll remove the label, but leaving this comment in case I'm Doing It Wrong.

MayaLekova pushed a commit to MayaLekova/node that referenced this pull request May 8, 2018
In preparation for a linting rule, use consistent quotation for
properties in objects.

PR-URL: nodejs#19156
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Roman Reiss <me@silverwind.io>
MayaLekova pushed a commit to MayaLekova/node that referenced this pull request May 8, 2018
Refs: nodejs#19100 (comment)
PR-URL: nodejs#19156
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Roman Reiss <me@silverwind.io>
@Trott Trott deleted the quote-props branch January 13, 2022 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. fast-track PRs that do not need to wait for 48 hours to land. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.