When opening a ts file in VSCode, I get the appropriate tslint messages. However, in neovim I don't. I've traced it down in the tsserver debug log to typescript-tslint-plugin not being found. I get an error starting with:
Failed to load module 'typescript-tslint-plugin': Error: Could not resolve JS module
When inspecting the ~/.config/coc/extensions/ folder, I noticed that coc-tslint-plugin does not have a node_modules folder. It appears that typescript-tslint-plugin should be in the dependencies, not the devDependencies of the package.json.
A simple npm install typescript-tslint-plugin in the coc-tslint-plugin folder seems to make everything work correctly again.
When opening a ts file in VSCode, I get the appropriate tslint messages. However, in neovim I don't. I've traced it down in the tsserver debug log to
typescript-tslint-plugin
not being found. I get an error starting with:When inspecting the
~/.config/coc/extensions/
folder, I noticed that coc-tslint-plugin does not have anode_modules
folder. It appears thattypescript-tslint-plugin
should be in the dependencies, not the devDependencies of the package.json.A simple
npm install typescript-tslint-plugin
in thecoc-tslint-plugin
folder seems to make everything work correctly again.