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", "error",
"never" "never"
], ],
"require-await": "off" "require-await": "off",
// "@intlify/vue-i18n/no-raw-text": "off", "@intlify/vue-i18n/no-raw-text": "off",
// "@intlify/vue-i18n/no-duplicate-keys-in-locale": [ "@intlify/vue-i18n/no-duplicate-keys-in-locale": [
// "error", "error",
// { {
// "ignoreI18nBlock": false "ignoreI18nBlock": false
// } }
// ], ],
// "@intlify/vue-i18n/no-missing-keys": "error" "@intlify/vue-i18n/no-missing-keys": "error"
}, },
"parserOptions": { "parserOptions": {
"parser": "babel-eslint", "parser": "babel-eslint",
"ecmaVersion": 8, "ecmaVersion": 8,
"sourceType": "module" "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