Skip to content

Releases: intlify/eslint-plugin-vue-i18n

v4.5.1

02 Jun 03:24
14cf32d

Choose a tag to compare

Patch Changes

  • #738 a573c37 Thanks @iichernyshev! - Fix false positives in no-unused-keys when a used key is a prefix of another used key.

v4.5.0

27 May 08:43
b14a198

Choose a tag to compare

Minor Changes

v4.4.0

14 May 00:54
29b68a8

Choose a tag to compare

Minor Changes

Patch Changes

  • #734 1c6e0a8 Thanks @SAY-5! - fix(no-raw-text): trim leading and trailing whitespace in warning message for readability

v4.3.0

01 Mar 14:24
c677b78

Choose a tag to compare

Minor Changes

v4.2.0

23 Feb 12:03
f717c61

Choose a tag to compare

Minor Changes

  • #697 b8dd9e8 Thanks @samuelwei! - add support for eslint v10

  • #689 bb9e1df Thanks @Jerc92! - Add valid-plural-forms rule to validate plural form counts per locale

    This rule enforces that plural messages have the correct number of forms for each locale, helping prevent runtime errors when vue-i18n's pluralRules function returns an out-of-bounds index.

    • Defaults to [2, 3] for all locales (matches vue-i18n's built-in pluralization)
    • Use pluralFormCounts to configure locale-specific overrides
    • Arrays allow multiple valid counts (e.g., [2, 4] for languages supporting both binary and full pluralization)

    Configuration example:

    {
      "@intlify/vue-i18n/valid-plural-forms": [
        "error",
        {
          "pluralFormCounts": {
            "sl": [2, 4],
            "sr-latn": [2, 3]
          }
        }
      ]
    }

Patch Changes

v4.1.1

14 Jan 23:54
9a0a215

Choose a tag to compare

Patch Changes

v4.1.0

29 Jul 10:01
93e5806

Choose a tag to compare

Minor Changes

v4.0.1

03 Apr 23:58
fb8ebbf

Choose a tag to compare

Patch Changes

v4.0.0

05 Mar 07:29
d03be80

Choose a tag to compare

Major Changes

Minor Changes

v4.0.0-next.2

05 Mar 07:27
b8ab021

Choose a tag to compare

v4.0.0-next.2 Pre-release
Pre-release

Major Changes

Minor Changes