Description
Tell us about your environment
- ESLint version:
- eslint-plugin-vue version:
- eslint-plugin-vue-i18n version:
- Node version:
The problem you want to solve.
The rule set @intlify/vue-i18n/recommended
should by default not only warn for raw text, but also for attributes, visible as text, containing raw text. I discovered this when I realised that this set does not warn me when putting raw text into <input placeholder="raw-text" />
. In my opinion, this is equally bad. Arguably, this would be annoying for someone overwriting this tag with a custom object, but this shouldn't be the majority - its neither recommended.
Your take on the correct solution to problem.
I could just write it in my eslint and call it a day, but there most likely also others running into the same trap.
Additional context
Here's a good list of arguments to start with: https://eslint-plugin-vue-i18n.intlify.dev/rules/no-raw-text.html#options