coc-eslint: UnhandledRejection opening markdown files

Recently anytime I’m opening standalone markdown files (e.g. nvim /tmp/foo.md), I’m getting this error:

[coc.nvim]: UnhandledRejection: Request textDocument/codeAction failed with message: No ESLint configuration found in /tmp.
Error: Request textDocument/codeAction failed with message: No ESLint configuration found in /tmp.
    at Ie (/home/francisco/.local/share/nvim/site/pack/packer/opt/coc.nvim/build/index.js:29:233)
    at Bi (/home/francisco/.local/share/nvim/site/pack/packer/opt/coc.nvim/build/index.js:28:6872)
    at Immediate.<anonymous> (/home/francisco/.local/share/nvim/site/pack/packer/opt/coc.nvim/build/index.js:28:6719)
    at process.processImmediate (node:internal/timers:471:21)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (22 by maintainers)

Most upvoted comments

But the error should be catched, don’t why it throws