Skip to content

Commit

Permalink
chore: remove unused message id
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 7, 2024
1 parent 98e90a3 commit 9136963
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/rule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [],
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down

0 comments on commit 9136963

Please sign in to comment.