mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-19 04:29:45 +08:00
🐎 ci(prettier): 格式化调整
vscode 的 eslint 配置规则变更,prettier 安回来用于格式化 json & yml Signed-off-by: BTMuli <BT-Muli@outlook.com> (cherry picked from commit 6109c552818f97f9169a550a3c0d181535278be6)
This commit is contained in:
@@ -6,11 +6,12 @@
|
||||
"author": "BTMuli <bt-muli@outlook.com>",
|
||||
"scripts": {
|
||||
"lint": "concurrently \"npm:lint:*(!fix)\"",
|
||||
"lint:fix": "concurrently \"npm:lint:fix:*\"",
|
||||
"lint:fix": "concurrently \"npm:lint:*:fix\"",
|
||||
"lint:code": "eslint \"./src/**/*.{vue,ts,tsx,js,jsx}\"",
|
||||
"lint:code:fix": "npm run lint:code -- --fix",
|
||||
"lint:style": "stylelint \"./src/**/*.{vue,css}\"",
|
||||
"lint:style:fix": "npm run lint:style -- --fix",
|
||||
"prettier": "prettier \"**/*.{json,yml}\" --write",
|
||||
"dev": "concurrently -k \"tauri dev --exit-on-panic\" \"vue-devtools\"",
|
||||
"vite:dev": "vite dev",
|
||||
"vite:build": "vite build",
|
||||
@@ -63,6 +64,7 @@
|
||||
"eslint-plugin-n": "^15.7.0",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-vue": "^9.10.0",
|
||||
"prettier": "2.8.7",
|
||||
"stylelint": "^15.4.0",
|
||||
"stylelint-config-standard-vue": "^1.0.0",
|
||||
"stylelint-declaration-block-no-ignored-properties": "^2.7.0",
|
||||
|
||||
Reference in New Issue
Block a user