FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tools: lint for use of space in template strings by Trott · Pull Request #6591 · nodejs/node · GitHub

/ node Public

tools: lint for use of space in template strings - #6591

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:template
Closed

tools: lint for use of space in template strings#6591
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:template

Conversation

Trott commented May 5, 2016

Copy link
Copy Markdown
Member
Checklist
  • tests and code linting passes
  • the commit message follows commit guidelines
Affected core subsystem(s)

tools

Description of change

There are over 70 files in the project using template strings and all of
them have followed the convention of no spaces in curly braces.

Good: ${foo}

Not used: ${ foo }

Since the project has adopted a convention, and ESLint has a rule to
enforce exactly this convention, enable the rule.

There are over 70 files in the project using template strings and all of
them have followed the convention of no spaces in curly braces.

Good: `${foo}`

Not used: `${ foo }`

Since the project has adopted a convention, and ESLint has a rule to
enforce exactly this convention, enable the rule.
Trott added the tools Issues and PRs related to the tools directory. label May 5, 2016

cjihrig commented May 5, 2016

Copy link
Copy Markdown
Contributor

LGTM

Copy link
Copy Markdown
Contributor

lgtm

JungMinu commented May 5, 2016

Copy link
Copy Markdown
Member

LGTM

1 similar comment

targos commented May 5, 2016

Copy link
Copy Markdown
Member

LGTM

Trott added a commit to Trott/io.js that referenced this pull request May 8, 2016
There are over 70 files in the project using template strings and all of
them have followed the convention of no spaces in curly braces.

Good: `${foo}`

Not used: `${ foo }`

Since the project has adopted a convention, and ESLint has a rule to
enforce exactly this convention, enable the rule.

PR-URL: nodejs#6591
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>

Trott commented May 8, 2016

Copy link
Copy Markdown
Member Author

Landed in 83aa1f7

Trott closed this May 8, 2016
evanlucas pushed a commit that referenced this pull request May 17, 2016
There are over 70 files in the project using template strings and all of
them have followed the convention of no spaces in curly braces.

Good: `${foo}`

Not used: `${ foo }`

Since the project has adopted a convention, and ESLint has a rule to
enforce exactly this convention, enable the rule.

PR-URL: #6591
Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Trott deleted the template branch January 13, 2022 22:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL