Closed
Description
This issue is a request to add a fix option to the no-raw-text rule.
For exmaple,
module.export = {
extends: [
'eslint:recommended',
'plugin:@intlify/vue-i18n/recommended'
],
rules: {
},
settings: {
'vue-i18n': {
}
}
}
and run
eslint --config ./.eslintrc.js --ext .vue,.ts,.js . --fix",
before
<template>
<p>hello</p>
</template>
after
<template>
<p>{{ $t('hello') }}</p>
</template>
<i18n>
{
"": {
"": "hello"
}
}
</i18n>