Cursor doesn't seem to support tsconfig.json paths

I’m working on a large project that relies on tsconfig.json path mappings for module resolution during local development. Everything works fine in the editor—type resolution and language server completions behave as expected.

However, I’ve noticed extremely poor suggestions when using Cursor. It seems like Cursor doesn’t support or respect the paths config—resulting in bizarre completions and even suggesting non-existent values.

"paths": {
  "some-es-local-import/*": ["../../the-local-version/*"]
}

In smaller projects, Cursor performs well. But in this setup, importing a module via a configured path leads to failure. If I then drag the actual target file into the code, suggestions suddenly work.

Simple reproduce:

  • Set up a path-mapped import via tsconfig.json
  • Try using values from the module
  • Completions fail
  • Drag in the file manually → completions start working

It looks like Cursor’s resolver is ignoring tsconfig.json path mappings entirely.

I encountered the same issue, and it seems to be caused by eslint. I manually disabled the rules in my eslintrc:

"rules": {
  "import/no-unresolved": "off"
}