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 authored Jul 27, 2023
1 parent cddd636 commit 54a2e41
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 54a2e41

Please sign in to comment.