allegro / typescript-strict-plugin

Typescript plugin that allows turning on strict mode in specific files or directories.
MIT License
335 stars 29 forks source link

Not working #5

Closed isetpro closed 3 years ago

isetpro commented 3 years ago

The plugin isn't working with angular and TS. Not strict lines don't mark as errors.

"typescript-strict-plugin":1.0.1 "typescript": "4.0.2" "@angular-builders/custom-webpack": "10.0.1", "@angular-devkit/build-angular": "~0.1001.0", "@angular-devkit/build-ng-packagr": "~0.1001.0", "@angular/cli": "11.0.0", "@angular/compiler-cli": "11.0.0", "@angular/language-service": "11.0.0",

KostkaBrukowa commented 3 years ago

Hey! I've tried to use our plugin in sample project with this configuration, and seems to work well with angular and .ts files. Can you maybe provide us with your tsconfig.json and a file that causes problems?

zarghambetterfront commented 3 years ago

Hey, it did not work in my applicaiton, then i cloned sample project, its still not working.

KostkaBrukowa commented 3 years ago

Do you use VScode? If you do you need to open the sample project itself (open the sample-project directory) not the cloned repository. Also VScode sometimes uses its own typescript version not the project one - resulting in not reading local tsconfig, so be sure to have Use workspace version option selected instead of Use VS Code version. This options can be found by clicking on the typescript version in the bottom right corner.

image

KostkaBrukowa commented 3 years ago

Closing due to inactivity