Add multi-language-repo

This commit is contained in:
David Verdeguer 2020-05-08 11:51:47 +02:00
parent b73b259103
commit 583f8a923c
32 changed files with 257 additions and 0 deletions

View file

@ -0,0 +1,11 @@
/**
* @name Foo Show Ifs
* @description Foo Show Ifs
* @kind problem
* @id complex-javascript-querypack/foo-show-ifs
*/
import javascript
from IfStmt i
select i, "foo if"

View file

@ -0,0 +1,11 @@
/**
* @name Bar Show Ifs
* @description Bar Show Ifs
* @kind problem
* @id complex-javascript-querypack/bar-ifs
*/
import javascript
from IfStmt i
select i, "bar if"

View file

@ -0,0 +1,11 @@
/**
* @name Barfoobar Show Ifs
* @description Barfoobar Show Ifs
* @kind problem
* @id complex-javascript-querypack/barfoobar-ifs
*/
import javascript
from IfStmt i
select i, "barfoobar if"

View file

@ -0,0 +1,11 @@
/**
* @name Foo2 Show Ifs
* @description Foo2 Show Ifs
* @kind problem
* @id complex-javascript-querypack/foo2-ifs
*/
import javascript
from IfStmt i
select i, "foo2 if"

View file

@ -0,0 +1,3 @@
name: complex-javascript-querypack
version: 0.0.1
libraryPathDependencies: codeql-javascript

View file

@ -0,0 +1,11 @@
/**
* @name Root Show Ifs
* @description Root Show Ifs
* @kind problem
* @id complex-javascript-querypack/root-show-ifs
*/
import javascript
from IfStmt i
select i, "root if"