I am in the middle of upgrading our app and I'm getting the following error when i try to build my angular app:
This rule requires the strictNullChecks
compiler option to be turned on to function correctly @typescript-eslint/no-unnecessary-condition
The problem is that I want "strictNullChecks" to be set to false so that I don't have to refactor the whole application until a later date. Is there a way to turn off this rule? I can't seem to find any documentation on this. I'm getting this same error about 2100 times. Anyone help would be appreciated.
I have tried adding the following to my angularCompilerOptions but that did not resolve my issue: allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: true
.eslintrc
file, you could disable the rule there.