Here’s github issue with all necessary info: ESLint LS throws errors when trying to declare new variable (indent rule) · Issue #1567 · neovim/nvim-lspconfig · GitHub
ESLint: Cannot read properties of undefined (reading 'loc') Occurred while linting /home/non/test/index.ts. Please see the 'ESLint' output channel for details. Request Actions: 1. Open Output
Is there a way to prevent this error from showing by using custom handler? If so, can somebody point me to some example of doing that?
The only example which I’ve seen and used is this one: Multiple and wrong definition · Issue #216 · typescript-language-server/typescript-language-server · GitHub