You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"parser": "vue-eslint-parser",
|
|
|
|
"ignorePatterns": [
|
|
|
|
"node_modules",
|
|
|
|
".nuxt",
|
|
|
|
"dist",
|
|
|
|
"static"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"@nuxtjs",
|
|
|
|
"plugin:@intlify/vue-i18n/recommended"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"no-console": "off",
|
|
|
|
"space-before-function-paren": [
|
|
|
|
"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",
|
|
|
|
"max-len": ["warn", {
|
|
|
|
"code": 120
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"ecmaVersion": 8,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"vue-i18n": {
|
|
|
|
"localeDir": "./lang/*.json",
|
|
|
|
"messageSyntaxVersion": "^8.20.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|