🐎 ci:配置了prettier

This commit is contained in:
sundongyu 2024-04-11 16:19:02 +08:00
parent e9aed32e8b
commit b647880ea6
3 changed files with 1702 additions and 5 deletions

1698
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -19,6 +19,7 @@
"pdfmake": "^0.2.10", "pdfmake": "^0.2.10",
"pinia": "^2.1.7", "pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1", "pinia-plugin-persistedstate": "^3.2.1",
"prettier": "^3.2.5",
"tdesign-vue-next": "^1.9.3", "tdesign-vue-next": "^1.9.3",
"vite-plugin-mock": "^3.0.1", "vite-plugin-mock": "^3.0.1",
"vue": "^3.4.21", "vue": "^3.4.21",

8
prettier.json Normal file
View File

@ -0,0 +1,8 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"tabWidth": 2,
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none"
}