FIX: Package.json
This commit is contained in:
52
.eslintrc.js
52
.eslintrc.js
@@ -1,52 +0,0 @@
|
||||
module.export = {
|
||||
root: true,
|
||||
env: {
|
||||
node: true,
|
||||
},
|
||||
parserOptions: {
|
||||
parser: '@babel/eslint-parser',
|
||||
ecmaVersion: 2020,
|
||||
requireConfigFile: false,
|
||||
},
|
||||
extends: [
|
||||
'eslint:recommended',
|
||||
'plugin:vue/vue3-recommended',
|
||||
'plugin:@intlify/vue-i18n/recommended',
|
||||
'prettier',
|
||||
],
|
||||
settings: {
|
||||
'vue-i18n': {
|
||||
localeDir: '@/lang/*.{json,json5,yaml,yml}',
|
||||
messageSyntaxVersion: '^9.0.0',
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
indent: 'off',
|
||||
camelcase: 'off',
|
||||
'space-before-function-paren': 'off',
|
||||
'object-curly-spacing': 'off',
|
||||
'comma-dangle': 'off',
|
||||
'vue/html-self-closing': 'warn',
|
||||
'@intlify/vue-i18n/no-v-html': 'off',
|
||||
'@intlify/vue-i18n/no-dynamic-keys': 'off',
|
||||
'@intlify/vue-i18n/no-raw-text': [
|
||||
'warn',
|
||||
{
|
||||
ignorePattern: '^(([\\W\\d]+)|(http.*))|()$',
|
||||
ignoreNodes: [
|
||||
'code',
|
||||
],
|
||||
},
|
||||
],
|
||||
'@intlify/vue-i18n/no-unused-keys': [
|
||||
'error',
|
||||
{
|
||||
extensions: [
|
||||
'.js',
|
||||
'.ts',
|
||||
'.vue',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
module.export = {
|
||||
trailingComma: 'es5',
|
||||
printWidth: 120,
|
||||
tabWidth: 2,
|
||||
semi: false,
|
||||
singleQuote: true,
|
||||
}
|
||||
59
package.json
59
package.json
@@ -62,5 +62,64 @@
|
||||
"prettier": "3.2.4",
|
||||
"tailwindcss": "^3.4.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"parser": "@babel/eslint-parser",
|
||||
"ecmaVersion": 2020,
|
||||
"requireConfigFile": false
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:vue/vue3-recommended",
|
||||
"plugin:@intlify/vue-i18n/recommended",
|
||||
"prettier"
|
||||
],
|
||||
"settings": {
|
||||
"vue-i18n": {
|
||||
"localeDir": "@/lang/*.{json,json5,yaml,yml}",
|
||||
"messageSyntaxVersion": "^9.0.0"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"indent": "off",
|
||||
"camelcase": "off",
|
||||
"space-before-function-paren": "off",
|
||||
"object-curly-spacing": "off",
|
||||
"comma-dangle": "off",
|
||||
"vue/html-self-closing": "warn",
|
||||
"@intlify/vue-i18n/no-v-html": "off",
|
||||
"@intlify/vue-i18n/no-dynamic-keys": "off",
|
||||
"@intlify/vue-i18n/no-raw-text": [
|
||||
"warn",
|
||||
{
|
||||
"ignorePattern": "^(([\\W\\d]+)|(http.*))|()$",
|
||||
"ignoreNodes": [
|
||||
"code"
|
||||
]
|
||||
}
|
||||
],
|
||||
"@intlify/vue-i18n/no-unused-keys": [
|
||||
"error",
|
||||
{
|
||||
"extensions": [
|
||||
".js",
|
||||
".ts",
|
||||
".vue"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"prettier": {
|
||||
"trailingComma": "es5",
|
||||
"printWidth": 120,
|
||||
"tabWidth": 2,
|
||||
"semi": false,
|
||||
"singleQuote": true
|
||||
},
|
||||
"web-types": "./web-types.json"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user