no-extra-non-null-assertion
Configuration
rslint.config.ts
Rule Details
Disallow extra non-null assertions.
The ! non-null assertion operator in TypeScript is used to assert that a value's type does not include null or undefined. Using the operator any more than once on a single value does nothing.
Examples of incorrect code for this rule:
Examples of correct code for this rule:
Original Documentation
https://typescript-eslint.io/rules/no-extra-non-null-assertion