Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Reduce false positive rate in no-invalid-template-strings #3769

Merged
merged 1 commit into from Jul 18, 2018

Conversation

mitchellwills
Copy link
Contributor

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

  • Don't flag unmatched ${ in a regular string
  • Also flag the entire expression, not just the opening brace

CHANGELOG.md entry:

[enhancement] Don't flag unmatched ${ in no-invalid-template-strings

@mitchellwills
Copy link
Contributor Author

Any thoughts on this? The testNext failure looks unrelated to this change.

Copy link

@giladgray giladgray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice change! retriggered build, should pass now.

@mitchellwills
Copy link
Contributor Author

Looks like the build is still failing. Still appears unrelated to this PR

@mitchellwills
Copy link
Contributor Author

Any thoughts on this?

@johnwiseheart
Copy link
Contributor

Hi @mitchellwills, I think if you merge master into your branch one more time this should fix the tests. Once you have done so, please tag me and I'll merge it for you

Don't flag unmatched ${ in a regular string
Also flag the entire expression, not just the opening brace
@mitchellwills
Copy link
Contributor Author

@johnwiseheart looks like all the tests are passing now

@johnwiseheart johnwiseheart merged commit 3cb1691 into palantir:master Jul 18, 2018
@johnwiseheart
Copy link
Contributor

Thanks for your contribution!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants