Skip to content

Commit

Permalink
4c0fcd0473a7805ff0a82aabe29d05d03e795399
Browse files Browse the repository at this point in the history
  • Loading branch information
pddzl committed Jun 25, 2023
1 parent 8f7c23b commit 9f8f55b
Show file tree
Hide file tree
Showing 18 changed files with 171 additions and 190 deletions.
11 changes: 11 additions & 0 deletions web/.editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
# 配置项文档:https://editorconfig.org/

# 告知 EditorConfig 插件,当前即是根文件
root = true

# 适用全部文件
[*]
## 设置字符集
charset = utf-8
## 缩进风格 space | tab,建议 space
indent_style = space
## 缩进的空格数(修改这里的话需要将 prettier.config.js 和 .vscode -> settings.json 也同步修改)
indent_size = 2
## 换行符类型 lf | cr | crlf,一般都是设置为 lf
end_of_line = lf
## 是否在文件末尾插入空白行
insert_final_newline = true
## 是否删除一行中的前后空格
trim_trailing_whitespace = true

# 适用 .md 文件
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions web/.eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ node_modules
dist
dist-ssr
*.local
.npmrc
2 changes: 0 additions & 2 deletions web/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ module.exports = {
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/eslint-config-typescript"
// unplugin-auto-import 自动生成的文件
// "./types/.eslintrc-auto-import.json"
],
parser: "vue-eslint-parser",
parserOptions: {
Expand Down
12 changes: 6 additions & 6 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,25 @@
"@types/node": "20.3.1",
"@types/nprogress": "0.2.0",
"@types/path-browserify": "1.0.0",
"@typescript-eslint/eslint-plugin": "5.59.11",
"@typescript-eslint/parser": "5.59.11",
"@typescript-eslint/eslint-plugin": "5.60.0",
"@typescript-eslint/parser": "5.60.0",
"@vitejs/plugin-vue": "4.2.3",
"@vitejs/plugin-vue-jsx": "3.0.1",
"@vue/eslint-config-prettier": "7.1.0",
"@vue/eslint-config-typescript": "11.0.3",
"eslint": "8.43.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-vue": "9.14.1",
"eslint-plugin-vue": "9.15.0",
"lint-staged": "13.2.2",
"prettier": "2.8.8",
"sass": "1.63.4",
"terser": "5.18.0",
"sass": "1.63.5",
"terser": "5.18.1",
"typescript": "5.1.3",
"vite": "4.3.9",
"vite-plugin-svg-icons": "2.0.1",
"vite-svg-loader": "4.0.0",
"vue-eslint-parser": "9.3.1",
"vue-tsc": "^1.8.0"
"vue-tsc": "^1.8.1"
},
"lint-staged": {
"*.{vue,js,jsx,ts,tsx}": [
Expand Down
Loading

0 comments on commit 9f8f55b

Please sign in to comment.