diff --git a/t3sts/semgrep_rules/no-backticks-in-js-handlers.html b/t3sts/semgrep_rules/no-backticks-in-js-handlers.html new file mode 100644 index 00000000..807101f3 --- /dev/null +++ b/t3sts/semgrep_rules/no-backticks-in-js-handlers.html @@ -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}}`)