⚡ Add autocompletion for i18n keys in script sections of Vue files (#3133)
* 📘 Type `baseText()` to i18n keys * 📘 Adjust `baseText()` signature * 👕 Except JSON files from Vue ESLint * 🐛 Fix errors surfaced by `baseText()` typing * ⚡ Pluralize keys * 📘 Add typing for category names * ⚡ Mark internal keys * ✏️ Update docs references * 🎨 Prettify syntax * 🐛 Fix leftover internal key references
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
"linterOptions": {
|
||||
"exclude": [
|
||||
"node_modules/**/*",
|
||||
"../../node_modules/**/*"
|
||||
"../../node_modules/**/*",
|
||||
"**/*.json"
|
||||
]
|
||||
},
|
||||
"defaultSeverity": "error",
|
||||
|
||||
Reference in New Issue
Block a user