Skip to content

Commit

Permalink
New test: no-backticks-in-js-handlers.html
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Jul 27, 2023
1 parent 2f8f95e commit 22bf8b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t3sts/semgrep_rules/no-backticks-in-js-handlers.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// ruleid: no-backticks-in-js-handlers
onclick="call('good', `{{var}}`, `{{var}}`)"
// ruleid: no-backticks-in-js-handlers
onclick='call("good", `{{var}}`, `{{var}}`)'
// ruleid: no-backticks-in-js-handlers
onclick=call('good', `{{var}}`, `{{var}}`)

0 comments on commit 22bf8b6

Please sign in to comment.