From 26f86e69b98f99c2ccc0d62374f51ef26751fc8f Mon Sep 17 00:00:00 2001 From: Oleh Zhmaiev Date: Wed, 11 Oct 2023 19:22:53 +0300 Subject: [PATCH] [ts] add value into report for the 'no duplicate' rule --- packages/validator/source/rules/no-duplicate-translations.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/validator/source/rules/no-duplicate-translations.ts b/packages/validator/source/rules/no-duplicate-translations.ts index 31e9cad..f5fed4a 100644 --- a/packages/validator/source/rules/no-duplicate-translations.ts +++ b/packages/validator/source/rules/no-duplicate-translations.ts @@ -27,6 +27,7 @@ const create = (): LifeCycleHooks => { report({ filePath, key, + value: translations.en, type, messageId: MESSAGE_ID, message: `Following locales have the same translation: ${locales.toString()} - ${translations.en}`