Skip to content

Commit 07ba078

Browse files
committed
fix: oxlint disable console linting error
1 parent a245461 commit 07ba078

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

config/i18n.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ function createPluralRule(locale: string, mapping: Record<string, number>) {
8686
// In case translation doesn't have all plural forms, use the last available form
8787
if (plural > choicesLength - 1) {
8888
if (import.meta.dev) {
89+
// oxlint-disable-next-line no-console -- warn logging
8990
console.warn(
9091
`Plural form index ${plural} for choice ${choice} exceeds available forms ${choicesLength} for locale ${locale}.`,
9192
)

0 commit comments

Comments
 (0)