invalid-syntax

Message syntax errors (ICU, linked messages, nesting).

Message syntax errors (ICU, linked messages, nesting).

The check is on by default, with the severity error.

Configure

Change the severity, or turn the check off, in checks:

x18n.config.ts
import { defineConfig } from '@x18n/core'

export default defineConfig({
  checks: {
    'invalid-syntax': 'off',
  },
})

x18n check --only invalid-syntax runs this check alone. x18n check --skip invalid-syntax skips it for one run.

Source