mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
exclude tagged template literals from js/superfluous-trailing-arguments
This commit is contained in:
@@ -129,4 +129,13 @@ function sum2() {
|
||||
}
|
||||
|
||||
// OK
|
||||
sum2(1, 2, 3);
|
||||
sum2(1, 2, 3);
|
||||
|
||||
const $ = function (x, arr) {
|
||||
console.log(x, arr);
|
||||
};
|
||||
|
||||
// OK
|
||||
async function tagThing(repoUrl, directory) {
|
||||
await $`git clone ${repoUrl} ${directory}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user