We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description of the false positive
js/useless-regexp-character-escape triggers for code like:
const str = `hello \${name}`;
This is invalid, since without the backslash escape, that's a string interpolation of the name variable:
name
const str = `hello ${name}`;
This triggered in the lit-html codebase on this line: https://github.com/lit/lit/blob/5eea178e0df1199cd29e9d46bc888d52882f18dd/packages/lit-html/src/lit-html.ts#L1418
Link to the code scanning issue: https://github.com/lit/lit/security/code-scanning/15
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of the false positive
js/useless-regexp-character-escape triggers for code like:
This is invalid, since without the backslash escape, that's a string interpolation of the
namevariable:This triggered in the lit-html codebase on this line: https://github.com/lit/lit/blob/5eea178e0df1199cd29e9d46bc888d52882f18dd/packages/lit-html/src/lit-html.ts#L1418
Link to the code scanning issue: https://github.com/lit/lit/security/code-scanning/15
The text was updated successfully, but these errors were encountered: