Describe the Bug
Cursor is showing TypeScript diagnostic ts(6133) (“X is declared but its value is never read”) even when it is disabled in tsconfig.json. This is happening in two different macOS computers; VS Code with the same configuration does not list these as problems. That means the user can jump to the actual problems with F8 without seeing all this extraneous information.
These issues are also not shown in the list of problems within Cursor - which is correct, as they are not problems as per the config.
Steps to Reproduce
Create minimal project with:
mkdir ts-unused-test && cd ts-unused-test
npm init -y
npm install [email protected] --save-dev
npx tsc --init
Set tsconfig.json:
{
“compilerOptions”: {
“noUnusedLocals”: false,
“noUnusedParameters”: false
}
}
Add a test.ts:
function unused() {
const y = 123;
}
Open file in Cursor — it shows ts(6133) even though tsc and VS Code do not.
Expected Behavior
The errors shouldn’t appear as problems
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.1.7 (Universal)
VSCode Version: 1.96.2
Commit: 7111807980fa9c93aedd455ffa44b682c0dc1350
Date: 2025-07-01T07:26:06.233Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor