Skip to content

doc: unify spaces in object literals#13354

Closed
vsemozhetbyt wants to merge 2 commits into
nodejs:masterfrom
vsemozhetbyt:object-curly-spacing
Closed

doc: unify spaces in object literals#13354
vsemozhetbyt wants to merge 2 commits into
nodejs:masterfrom
vsemozhetbyt:object-curly-spacing

Conversation

@vsemozhetbyt

Copy link
Copy Markdown
Contributor
Checklist
Affected core subsystem(s)

doc

Just fixed some fragments that had escaped our attention)

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label May 31, 2017
@vsemozhetbyt

Copy link
Copy Markdown
Contributor Author

@refack

refack commented May 31, 2017

Copy link
Copy Markdown
Contributor

You know my usual question: can we now turn on a lint rule for this?

@vsemozhetbyt

Copy link
Copy Markdown
Contributor Author

@refack It can be turned on now for the docs if there is some minimal consensus for this)

@gibfahn

gibfahn commented Jun 1, 2017

Copy link
Copy Markdown
Member

+1 to adding a lint rule.

@vsemozhetbyt

vsemozhetbyt commented Jun 1, 2017

Copy link
Copy Markdown
Contributor Author

I've doubled one fix from the #13342 in the first commit and added the object-curly-spacing to the doc/.eslintrc.yaml with the second commit. If anybody has objections, please, let me know to revert.

Linter CI: https://ci.nodejs.org/job/node-test-linter/9503/

@refack refack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✔️

@mhdawson mhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vsemozhetbyt

Copy link
Copy Markdown
Contributor Author

Rebased due to #13342

Linter CI: https://ci.nodejs.org/job/node-test-linter/9569/

vsemozhetbyt added a commit that referenced this pull request Jun 2, 2017
PR-URL: #13354
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
vsemozhetbyt added a commit that referenced this pull request Jun 2, 2017
PR-URL: #13354
Refs: http://eslint.org/docs/rules/object-curly-spacing
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
@vsemozhetbyt

Copy link
Copy Markdown
Contributor Author

Landed in 7de6998...e0f4310

@vsemozhetbyt vsemozhetbyt deleted the object-curly-spacing branch June 2, 2017 23:03
jasnell pushed a commit that referenced this pull request Jun 5, 2017
PR-URL: #13354
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
jasnell pushed a commit that referenced this pull request Jun 5, 2017
PR-URL: #13354
Refs: http://eslint.org/docs/rules/object-curly-spacing
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
@jasnell jasnell mentioned this pull request Jun 5, 2017
@gibfahn gibfahn mentioned this pull request Jun 15, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.