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

[Feature Request] Support for monorepos #77

Closed lonix1 closed 5 years ago

lonix1 commented 5 years ago

Background: My monorepo workspace root has a tslint.json file with common lint config. Child projects have their own tslint.json files, which extend the root config ("extends": "../../tslint.json").

Problem: When foo.ts is open, the root config is used rather than the corresponding child config.

Solution: Instead of using the config at the root directory, it should walk up the tree until it finds a tslint.json and use that instead.

lonix1 commented 5 years ago

Works when updating code then restarting vscode