Skip to content

Commit 4f448bb

Browse files
committed
Add tsc --noEmit to bun lint
1 parent a7932c9 commit 4f448bb

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

bun.lockb

380 Bytes
Binary file not shown.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"vite": "^5.4.1"
3838
},
3939
"peerDependencies": {
40-
"typescript": "^5.5.4"
40+
"typescript": "^5.6.2"
4141
},
4242
"scripts": {
4343
"dev": "echo 'Open this directory in VSCode and then run your extension with F5 or `Run and Debug > Run Extension`!'",
@@ -53,7 +53,7 @@
5353
"demo": "bun run --cwd ./src/demo/ vite",
5454
"build-demo": "bun run --cwd ./src/demo/ vite build --outDir ../../dist/demo --base '/function-graph-overview/'",
5555
"format": "bun prettier . --write --log-level silent",
56-
"lint": "bun format && bun run eslint",
56+
"lint": "bun format && bun run eslint || bun run tsc --noEmit",
5757
"generate-parsers": "bun run ./scripts/generate-parsers.ts"
5858
},
5959
"//": "START EXTENSION ATTRIBUTES",
@@ -104,4 +104,4 @@
104104
"engines": {
105105
"vscode": "^1.86.0"
106106
}
107-
}
107+
}

src/control-flow/cfg-python.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ export class CFGBuilder {
2424
private activeClusters: Cluster[] = [];
2525

2626
constructor(options?: BuilderOptions) {
27-
2827
this.flatSwitch = options?.flatSwitch ?? false;
2928
this.markerPattern = options?.markerPattern ?? null;
3029
}

0 commit comments

Comments
 (0)