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: lint for use of space in template strings #6591

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented May 5, 2016

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 Trott added the tools Issues and PRs related to the tools directory. label May 5, 2016
@cjihrig
Copy link
Contributor

cjihrig commented May 5, 2016

LGTM

@Fishrock123
Copy link
Contributor

lgtm

@JungMinu
Copy link
Member

JungMinu commented May 5, 2016

LGTM

1 similar comment
@targos
Copy link
Member

targos commented May 5, 2016

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 <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
@Trott
Copy link
Member Author

Trott commented May 8, 2016

Landed in 83aa1f7

@Trott 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 <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
@Trott Trott deleted the template branch January 13, 2022 22:43
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