Skip to content

Commit 1097f91

Browse files
OttoAllmendingerllm-git
andcommitted
style: align fmt command with check-fmt scope
Update the fmt command to match the file glob pattern used in check-fmt, limiting formatting to TypeScript and JavaScript files in src and webpack directories only. Co-authored-by: llm-git <llm-git@ttll.de>
1 parent 19d0182 commit 1097f91

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/webui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"typecheck": "tsc --noEmit",
1818
"test": "echo \"Error: no test specified\"",
1919
"dev": "npm run build:wasm && npm run extract-samples && webpack serve --mode development --progress --hot --config ./webpack.config.js",
20-
"fmt": "prettier --write .",
20+
"fmt": "prettier --write '{src,webpack}/**/*.{tsx,ts,js}'",
2121
"check-fmt": "prettier --check '{src,webpack}/**/*.{tsx,ts,js}'",
2222
"clean": "rm -r ./dist",
2323
"lint": "eslint --quiet .",

0 commit comments

Comments
 (0)