From df516b06ecfa96fae3461a77bb3412e30aa65d89 Mon Sep 17 00:00:00 2001 From: Srijan Paul Date: Thu, 15 Jun 2023 16:08:43 +0530 Subject: [PATCH 1/3] idl --- src/index.js | 11 +++++++++++ src/index.ts | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 5da697c..10251e4 100644 --- a/src/index.js +++ b/src/index.js @@ -15,8 +15,19 @@ export const myExport4 = myFunc((() => { return 123; })(), undefined, 3 + 1); +let x = 1; + function pleaseAnalyzeMe_IHaveNoDocComment() { const unusedVariable = 123; new Promise(); } + +// fake doc comment +export function badFunction(boolz) { + if (boolz) { + return true; + } else { + return false; + } +} diff --git a/src/index.ts b/src/index.ts index 2df9743..d82d8a5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,6 @@ export const one = 1 export const one_or_two = one || 2 -let x = 1 \ No newline at end of file +let x = 1 + + From ebb6588162c191028f4509c52434f7441cd24f61 Mon Sep 17 00:00:00 2001 From: Srijan Paul Date: Thu, 15 Jun 2023 16:14:41 +0530 Subject: [PATCH 2/3] trigger analysis --- src/index.js | 2 ++ src/something.js | 1 + 2 files changed, 3 insertions(+) create mode 100644 src/something.js diff --git a/src/index.js b/src/index.js index 10251e4..850b6a5 100644 --- a/src/index.js +++ b/src/index.js @@ -31,3 +31,5 @@ export function badFunction(boolz) { return false; } } + +let y = 1; diff --git a/src/something.js b/src/something.js new file mode 100644 index 0000000..2c6c03e --- /dev/null +++ b/src/something.js @@ -0,0 +1 @@ +new Promise(); From 42090d5d41ebb57463f1ecd2abfe6d7b0c493ec1 Mon Sep 17 00:00:00 2001 From: Srijan Paul Date: Thu, 15 Jun 2023 16:50:34 +0530 Subject: [PATCH 3/3] jump to file --- src/something.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/something.js b/src/something.js index 2c6c03e..9314d47 100644 --- a/src/something.js +++ b/src/something.js @@ -1 +1,5 @@ new Promise(); + +if (true) { + +} \ No newline at end of file