Browse Source

chore: i18n eslint rules added

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/452/head
Pranav C 3 years ago
parent
commit
f28f3b24c0
  1. 30
      packages/nc-gui/.eslintrc.json

30
packages/nc-gui/.eslintrc.json

@ -17,25 +17,25 @@
"error",
"never"
],
"require-await": "off"
// "@intlify/vue-i18n/no-raw-text": "off",
// "@intlify/vue-i18n/no-duplicate-keys-in-locale": [
// "error",
// {
// "ignoreI18nBlock": false
// }
// ],
// "@intlify/vue-i18n/no-missing-keys": "error"
"require-await": "off",
"@intlify/vue-i18n/no-raw-text": "off",
"@intlify/vue-i18n/no-duplicate-keys-in-locale": [
"error",
{
"ignoreI18nBlock": false
}
],
"@intlify/vue-i18n/no-missing-keys": "error"
},
"parserOptions": {
"parser": "babel-eslint",
"ecmaVersion": 8,
"sourceType": "module"
},
"settings": {
"vue-i18n": {
"localeDir": "./static/lang/*.json",
"messageSyntaxVersion": "^8.20.0"
}
}
// "settings": {
// "vue-i18n": {
// "localeDir": "./static/lang/*.json",
// "messageSyntaxVersion": "^8.20.0"
// }
// }
}

Loading…
Cancel
Save