From 91369634572be5d5118d3941d75bc75d191ded43 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 8 May 2024 01:28:00 +0200 Subject: [PATCH] chore: remove unused message id --- src/rule.ts | 1 - src/types.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rule.ts b/src/rule.ts index b154eca..3f5e46f 100644 --- a/src/rule.ts +++ b/src/rule.ts @@ -17,7 +17,6 @@ export function createRuleWithCommands(commands: Command[]) { 'command-error': '[{{command}}] error: {{message}}', 'command-error-cause': '[{{command}}] error cause: {{message}}', 'command-fix': '[{{command}}] fix: {{message}}', - 'command-removal': '[{{command}}] remove comment after use', }, }, defaultOptions: [], diff --git a/src/types.ts b/src/types.ts index fa1addc..8dd6b48 100644 --- a/src/types.ts +++ b/src/types.ts @@ -6,7 +6,7 @@ export type { Tree, Linter, CommandContext } export type NodeType = `${Tree.Node['type']}` export type RuleOptions = [] -export type MessageIds = 'command-error' | 'command-error-cause' | 'command-fix' | 'command-removal' +export type MessageIds = 'command-error' | 'command-error-cause' | 'command-fix' export interface Command { /**