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

Unnecessary escape character: \$. (no-useless-escape) #671

Closed
kilianc opened this issue Nov 1, 2016 · 1 comment

Comments

@kilianc
Copy link

commented Nov 1, 2016

  -e "REGISTRY=\\$(cat -)" \\\\

In this case I am escaping the \ since I am printing a bash script and eslint thinks I am escaping $. This is a 70L file and it's basically a big string template. I can't even use // eslint-disable-line because is the string is a multiline string :(

@feross

This comment has been minimized.

Copy link
Member

commented Dec 27, 2016

Sorry, I can't reproduce this issue. Can you post a more complete example of the code that's causing this issue? Then I'll re-open this.

@feross feross closed this Dec 27, 2016

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 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.