Skip to content

Commit ef72e99

Browse files
committed
Enable Prettier for frontend formatting
1 parent fec96c2 commit ef72e99

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

web/package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,13 @@
77
"serve": "vite",
88
"serve:prod": "vite preview",
99
"build": "vite build",
10-
"test:lint": "eslint . --no-fix",
10+
"test:format": "prettier --experimental-cli --check .",
11+
"test:lint": "eslint --no-fix .",
1112
"test:type": "vue-tsc --build",
12-
"test": "npm-run-all test:lint test:type",
13-
"format": "eslint . --fix"
13+
"test": "npm-run-all test:format test:lint test:type",
14+
"format:lint": "eslint --fix .",
15+
"format:format": "prettier --experimental-cli --write .",
16+
"format": "npm-run-all format:lint format:format"
1417
},
1518
"dependencies": {
1619
"@mdi/font": "7.4.47",

0 commit comments

Comments
 (0)