Cursor modifies eslint settings

Eslint is unable to run on cursor. When I check the output logs, I see the following:

[Info  - 8:18:21 PM] ESLint server is starting.
[Info  - 8:18:21 PM] ESLint server stopped.
[Error - 8:18:21 PM] ESLint client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 8:18:21 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
/home/salman/.cursor-server/bin/3611c5390c448b242ab97e328493bb8ef7241e60/node: bad option: --no-lazy-sweeping
/home/salman/.cursor-server/bin/3611c5390c448b242ab97e328493bb8ef7241e60/node: bad option: --no-global-gc-scheduling
/home/salman/.cursor-server/bin/3611c5390c448b242ab97e328493bb8ef7241e60/node: bad option: --max-executable-size=192
/home/salman/.cursor-server/bin/3611c5390c448b242ab97e328493bb8ef7241e60/node: bad option: --no-opt-lazy
/home/salman/.cursor-server/bin/3611c5390c448b242ab97e328493bb8ef7241e60/node: bad option: --max-inlined-source-size=600
/home/salman/.cursor-server/bin/3611c5390c448b242ab97e328493bb8ef7241e60/node: bad option: --max-inlined-nodes=400
/home/salman/.cursor-server/bin/3611c5390c448b242ab97e328493bb8ef7241e60/node: bad option: --max-inlined-nodes-absolute=800
[Error - 8:18:21 PM] Server process exited with code 9.
[Error - 8:18:21 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 8:18:21 PM] The ESLint server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Info  - 8:18:21 PM] ESLint server stopped.
[Info  - 8:18:21 PM] ESLint server stopped.
[Error - 8:18:21 PM] ESLint client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 8:18:21 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 

I believe cursor is doing something behind the scenes?

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.