Skip to content

Commit 0ec132a

Browse files
authoredJan 27, 2025··
fix: add missing closing curly bracket
1 parent 57ef269 commit 0ec132a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎utils/report-errors.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ export const LEFT = 'left'
1313
const LEFT_GROUP = 'leftGroup'
1414

1515
export const ORDER_ERROR =
16-
`Expected "{{${RIGHT}}" to come before "{{${LEFT}}".` as const
16+
`Expected "{{${RIGHT}}}" to come before "{{${LEFT}}}".` as const
1717
export const DEPENDENCY_ORDER_ERROR =
18-
`Expected dependency "{{${RIGHT}}" to come before "{{${NODE_DEPENDENT_ON_RIGHT}}}".` as const
18+
`Expected dependency "{{${RIGHT}}}" to come before "{{${NODE_DEPENDENT_ON_RIGHT}}}".` as const
1919
export const GROUP_ORDER_ERROR =
20-
`Expected "{{${RIGHT}}" ({{${RIGHT_GROUP}}) to come before "{{${LEFT}}" ({{${LEFT_GROUP}}).` as const
20+
`Expected "{{${RIGHT}}}" ({{${RIGHT_GROUP}}}) to come before "{{${LEFT}}}" ({{${LEFT_GROUP}}}).` as const
2121
export const EXTRA_SPACING_ERROR =
22-
`Extra spacing between "{{${LEFT}}" and "{{${RIGHT}}" objects.` as const
22+
`Extra spacing between "{{${LEFT}}}" and "{{${RIGHT}}}" objects.` as const
2323
export const MISSED_SPACING_ERROR =
24-
`Missed spacing between "{{${LEFT}}" and "{{${RIGHT}}".` as const
24+
`Missed spacing between "{{${LEFT}}}" and "{{${RIGHT}}}".` as const
2525

2626
interface ReportErrorsParameters<MessageIds extends string> {
2727
context: TSESLint.RuleContext<MessageIds, unknown[]>

0 commit comments

Comments
 (0)
Please sign in to comment.