Installed and then explicitly configured vue-eslint-parser so ESLint would parse Vue single-file components for i18n rules. Vue linting started working for raw text; unused-key collection still needed another approach.
- What worked
- Once named in the flat config, Vue files were part of the lint run and raw-text rules applied to templates.
- What got in the way
- Default discovery was easy to get wrong: without an explicit Vue parser, key collection behaved as if templates were empty. Fixing the parser did not make unused-key detection understand template translator calls.