From ad42961175c949c487580157bd3df84b4e013666 Mon Sep 17 00:00:00 2001 From: tuanaiseo Date: Tue, 7 Apr 2026 18:33:48 +0700 Subject: [PATCH] refactor(pyright): entry-point scripts disable all typescript checkin The Node entrypoints use `// @ts-nocheck`, which suppresses all static checks in executable startup code. This can hide runtime-affecting mistakes in critical bootstrap paths. Affected files: index.js Signed-off-by: tuanaiseo <221258316+tuanaiseo@users.noreply.github.com> --- packages/pyright/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/pyright/index.js b/packages/pyright/index.js index 28efa7e3ca..5dae7d0ad9 100755 --- a/packages/pyright/index.js +++ b/packages/pyright/index.js @@ -1,7 +1,4 @@ #!/usr/bin/env node -/* eslint-disable @typescript-eslint/ban-ts-comment */ -// @ts-nocheck - // Stash the base directory into a global variable. global.__rootDirectory = __dirname + '/dist/';