key-conflict
A key that is both a leaf and a parent, or is duplicated across files of one locale.
A key that is both a leaf and a parent, or is duplicated across files of one locale.
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: {
'key-conflict': 'off',
},
})x18n check --only key-conflict runs this check alone. x18n check --skip key-conflict skips it for one run.