microsoft / vscode-typescript-tslint-plugin

VS Code extension that provides TSLint support using the typescript-tslint-plugin
https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin
MIT License
188 stars 35 forks source link

Typescript language server doesn't discover tslint installed globally with Yarn #65

Closed Jwpe closed 5 years ago

Jwpe commented 5 years ago

Hi there,

Since switching to the new plugin (v1.0), the configuration option to tell typescript-tslint-plugin which package manager I'm using (tslint.packageManager in my VS Code settings) seems to have disappeared - Code now reports it as an unrecognised configuration option.

The only way I was able to resolve the issue was to go into the source code of typescript-tslint-plugin in the node-modules of vscode-typescript-tslint-plugin and hard-code yarn as the package manager within runner/index.ts.

I hope that I'm missing something and that there's an easier way to sort this out - is there a new way to supply this configuration property?

Thanks!

ExE-Boss commented 5 years ago

The same occurs when it’s installed with pnpm.

See also: