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

Bug - Closing curly brace does not appear on the same line #1253

Closed
perezLamed opened this issue Feb 20, 2019 · 3 comments

Comments

@perezLamed
Copy link

commented Feb 20, 2019

What version of standard?
"standard": "^12.0.1",
What operating system, Node.js, and npm version?
Node v10.1.0
npm v5.6.0
What did you expect to happen?
No error for following code block (or another style error):

    if (colour === '') {
      throw new Error(`Expected token '}' not found on line:'${lineNo} \n-> '${line}'.\n`)
    }

What actually happened?
error Closing curly brace does not appear on the same line as the subsequent block

@LinusU

This comment has been minimized.

Copy link
Member

commented Feb 23, 2019

Interesting, this seems like a bug in eslint, would you mind submitting an upstream issue report there? ☺️

@stale

This comment has been minimized.

Copy link

commented May 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label May 24, 2019

@stale stale bot closed this May 31, 2019

@feross

This comment has been minimized.

Copy link
Member

commented Aug 6, 2019

I just tested this on standard v13 and it's not an issue, so it seems like if this was an issue it has since been fixed.

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