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

space-in-parens in template string #209

Closed
despairblue opened this issue Jul 28, 2015 · 3 comments

Comments

@despairblue
Copy link

commented Jul 28, 2015

var test = `(hi )`
console.log(test)

yields /home/despairblue/vcs/git/prototype2/test.js:1:15: There should be no spaces inside this paren. (space-in-parens)

I suppose that's an eslint bug? I'm not sure, I think in the past the the verbose flag also said what linter that error was coming from.

@feross

This comment has been minimized.

Copy link
Member

commented Jul 28, 2015

@despairblue We only use eslint now - they added enough new rules that the other linters were redundant.

@feross

This comment has been minimized.

Copy link
Member

commented Jul 28, 2015

Confirmed this an eslint bug. Opened an issue here: eslint/eslint#3182

@feross

This comment has been minimized.

Copy link
Member

commented Jul 30, 2015

This is now fixed in eslint master, and it'll make it into the next release of standard.

@feross feross closed this Jul 30, 2015

@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.