diff --git a/README.md b/README.md index 6a796a9..475a88c 100644 --- a/README.md +++ b/README.md @@ -98,11 +98,12 @@ Alternatively, add `lingui` to the plugins section, and configure the rules you ✅ - Recommended -- ✅ [no-expression-in-message](docs/rules/no-expression-in-message.md) - ✅ [no-single-tag-to-translate](docs/rules/no-single-tag-to-translate.md) - ✅ [no-single-variables-to-translate](docs/rules/no-single-variables-to-translate.md) - ✅ [no-trans-inside-trans](docs/rules/no-trans-inside-trans.md) - ✅ [t-call-in-function](docs/rules/t-call-in-function.md) + +- [consistent-plural-format](docs/rules/consistent-plural-format.md) +- [no-expression-in-message](docs/rules/no-expression-in-message.md) - [no-unlocalized-strings](docs/rules/no-unlocalized-strings.md) - [text-restrictions](docs/rules/text-restrictions.md) -- [consistent-plural-format](docs/rules/consistent-plural-format.md) diff --git a/src/index.ts b/src/index.ts index 6e19e62..18aed88 100644 --- a/src/index.ts +++ b/src/index.ts @@ -44,7 +44,6 @@ const recommendedRules: { [K in RuleKey as `lingui/${K}`]?: FlatConfig.RuleLevel 'lingui/no-single-tag-to-translate': 'warn', 'lingui/no-single-variables-to-translate': 'warn', 'lingui/no-trans-inside-trans': 'warn', - 'lingui/no-expression-in-message': 'warn', } // Assign configs here so we can reference `plugin`