allegro / typescript-strict-plugin

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

Add ability to ignore only specific parts of the --strict option #82

Open briancmpbll opened 3 months ago

briancmpbll commented 3 months ago

I have a large project that has files that comply with some parts of the --strict option, but not all. I would really like the ability to only ignore a subset of the --strict option on a per file basis using the @ts-strict-ignore comment. This way I could only ignore the rules that the file violates instead of all strict rules and my team wouldn't be unknowingly introducing new types of strict violations to files that don't violations of those rules.