Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/eslint-plugin/src/rules/no-unnecessary-condition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ export type MessageId =
| 'neverOptionalChain'
| 'noOverlapBooleanExpression'
| 'noStrictNullCheck'
| 'replaceWithTrue'
| 'typeGuardAlreadyIsType';

export default createRule<Options, MessageId>({
Expand Down Expand Up @@ -125,7 +124,6 @@ export default createRule<Options, MessageId>({
'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}}.',
},
Expand Down
Loading