diff --git a/packages/eslint-plugin/src/rules/no-unnecessary-condition.ts b/packages/eslint-plugin/src/rules/no-unnecessary-condition.ts index f9d959e4950b..ed963aa4703b 100644 --- a/packages/eslint-plugin/src/rules/no-unnecessary-condition.ts +++ b/packages/eslint-plugin/src/rules/no-unnecessary-condition.ts @@ -92,7 +92,6 @@ export type MessageId = | 'neverOptionalChain' | 'noOverlapBooleanExpression' | 'noStrictNullCheck' - | 'replaceWithTrue' | 'typeGuardAlreadyIsType'; export default createRule({ @@ -125,7 +124,6 @@ export default createRule({ 'Unnecessary conditional, the types have no overlap.', noStrictNullCheck: 'This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.', - replaceWithTrue: 'Replace always true expression with `true`.', typeGuardAlreadyIsType: 'Unnecessary conditional, expression already has the type being checked by the {{typeGuardOrAssertionFunction}}.', }, pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy