mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 15:01:23 +08:00
Fixed eslint
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
root: true,
|
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
es2021: true,
|
es2021: true,
|
||||||
@@ -7,21 +6,28 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
extends: [
|
extends: [
|
||||||
"plugin:vue/vue3-essential",
|
"plugin:vue/vue3-essential",
|
||||||
"eslint:recommended",
|
|
||||||
"standard-with-typescript",
|
"standard-with-typescript",
|
||||||
"@vue/eslint-config-typescript",
|
"plugin:prettier/recommended"
|
||||||
"@vue/eslint-config-prettier/skip-formatting"
|
|
||||||
],
|
],
|
||||||
overrides: [],
|
overrides: [],
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
|
project: "./tsconfig*.json",
|
||||||
ecmaVersion: "latest",
|
ecmaVersion: "latest",
|
||||||
project: "./tsconfig*.json"
|
sourceType: "module"
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
"vue"
|
"vue",
|
||||||
|
"prettier"
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
"no-cond-assign": "error",
|
"no-cond-assign": "error",
|
||||||
"indent": ["error", 4]
|
"eqeqeq": "error",
|
||||||
|
"indent": ["error", 4],
|
||||||
|
"prettier/prettier": [
|
||||||
|
"error",
|
||||||
|
{
|
||||||
|
endOfLine: "auto",
|
||||||
|
},
|
||||||
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
2041
ui/package-lock.json
generated
2041
ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -27,21 +27,23 @@
|
|||||||
"@types/jsdom": "^21.1.0",
|
"@types/jsdom": "^21.1.0",
|
||||||
"@types/node": "^18.14.2",
|
"@types/node": "^18.14.2",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.59.1",
|
"@typescript-eslint/eslint-plugin": "^5.59.1",
|
||||||
|
"@typescript-eslint/parser": "^5.59.1",
|
||||||
"@vitejs/plugin-vue": "^4.2.1",
|
"@vitejs/plugin-vue": "^4.2.1",
|
||||||
"@vue/eslint-config-prettier": "^7.1.0",
|
|
||||||
"@vue/eslint-config-typescript": "^11.0.3",
|
|
||||||
"@vue/test-utils": "^2.3.0",
|
"@vue/test-utils": "^2.3.0",
|
||||||
"@vue/tsconfig": "^0.1.3",
|
"@vue/tsconfig": "^0.1.3",
|
||||||
"eslint": "^8.39.0",
|
"eslint": "^8.39.0",
|
||||||
|
"eslint-config-prettier": "^8.8.0",
|
||||||
"eslint-config-standard-with-typescript": "^34.0.1",
|
"eslint-config-standard-with-typescript": "^34.0.1",
|
||||||
"eslint-plugin-import": "^2.27.5",
|
"eslint-plugin-import": "^2.27.5",
|
||||||
"eslint-plugin-n": "^15.7.0",
|
"eslint-plugin-n": "^15.7.0",
|
||||||
|
"eslint-plugin-prettier": "^4.2.1",
|
||||||
"eslint-plugin-promise": "^6.1.1",
|
"eslint-plugin-promise": "^6.1.1",
|
||||||
"eslint-plugin-vue": "^9.11.0",
|
"eslint-plugin-vue": "^9.11.0",
|
||||||
"jsdom": "^21.1.0",
|
"jsdom": "^21.1.0",
|
||||||
"mockjs": "^1.1.0",
|
"mockjs": "^1.1.0",
|
||||||
"npm-run-all": "^4.1.5",
|
"npm-run-all": "^4.1.5",
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^2.8.8",
|
||||||
|
"stylelint-config-prettier": "^9.0.5",
|
||||||
"typescript": "^5.0.4",
|
"typescript": "^5.0.4",
|
||||||
"unplugin-auto-import": "^0.15.3",
|
"unplugin-auto-import": "^0.15.3",
|
||||||
"unplugin-element-plus": "^0.7.1",
|
"unplugin-element-plus": "^0.7.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user