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 = {
|
||||
root: true,
|
||||
env: {
|
||||
browser: true,
|
||||
es2021: true,
|
||||
@@ -7,21 +6,28 @@ module.exports = {
|
||||
},
|
||||
extends: [
|
||||
"plugin:vue/vue3-essential",
|
||||
"eslint:recommended",
|
||||
"standard-with-typescript",
|
||||
"@vue/eslint-config-typescript",
|
||||
"@vue/eslint-config-prettier/skip-formatting"
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
overrides: [],
|
||||
parserOptions: {
|
||||
project: "./tsconfig*.json",
|
||||
ecmaVersion: "latest",
|
||||
project: "./tsconfig*.json"
|
||||
sourceType: "module"
|
||||
},
|
||||
plugins: [
|
||||
"vue"
|
||||
"vue",
|
||||
"prettier"
|
||||
],
|
||||
rules: {
|
||||
"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/node": "^18.14.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.59.1",
|
||||
"@typescript-eslint/parser": "^5.59.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/tsconfig": "^0.1.3",
|
||||
"eslint": "^8.39.0",
|
||||
"eslint-config-prettier": "^8.8.0",
|
||||
"eslint-config-standard-with-typescript": "^34.0.1",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-n": "^15.7.0",
|
||||
"eslint-plugin-prettier": "^4.2.1",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-vue": "^9.11.0",
|
||||
"jsdom": "^21.1.0",
|
||||
"mockjs": "^1.1.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"prettier": "^2.8.8",
|
||||
"stylelint-config-prettier": "^9.0.5",
|
||||
"typescript": "^5.0.4",
|
||||
"unplugin-auto-import": "^0.15.3",
|
||||
"unplugin-element-plus": "^0.7.1",
|
||||
|
||||
Reference in New Issue
Block a user