Skip to content

chore(eslint-plugin): [no-unnecessary-condition] remove dead suggestion id #10148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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