diff --git a/src/index.ts b/src/index.ts index 554049e..535a2c2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,7 +40,7 @@ const plugin = { const recommendedRules: { [K in RuleKey as `lingui/${K}`]?: FlatConfig.RuleLevel } = { 'lingui/t-call-in-function': 'error', 'lingui/no-single-tag-to-translate': 'warn', - 'lingui/no-single-variable-to-translate': 'warn', + 'lingui/no-single-variables-to-translate': 'warn', 'lingui/no-trans-inside-trans': 'warn', } diff --git a/src/rules/no-single-variables-to-translate.ts b/src/rules/no-single-variables-to-translate.ts index 0d26591..ed093af 100644 --- a/src/rules/no-single-variables-to-translate.ts +++ b/src/rules/no-single-variables-to-translate.ts @@ -7,7 +7,7 @@ import { } from '../helpers' import { createRule } from '../create-rule' -export const name = 'no-single-variable-to-translate' +export const name = 'no-single-variables-to-translate' export const rule = createRule({ name, meta: {