Add workflow that fixes PRs that do not match formatting (#7098)

This commit is contained in:
Ashcon Partovi
2023-11-14 08:51:19 -08:00
committed by GitHub
parent d4adcb3ccf
commit 547ed6d74d
6 changed files with 52 additions and 169 deletions

View File

@@ -21,6 +21,7 @@
"build:safe": "cmake . -DZIG_OPTIMIZE=ReleaseSafe -DUSE_DEBUG_JSC=ON -DCMAKE_BUILD_TYPE=Release -GNinja -Bbuild-safe && ninja -Cbuild-safe",
"typecheck": "tsc --noEmit && cd test && bun run typecheck",
"fmt": "prettier --write --cache './{src,test,bench,packages/{bun-types,bun-inspector-*,bun-vscode,bun-debug-adapter-protocol}}/**/*.{mjs,ts,tsx,js,jsx}'",
"fmt:zig": "zig fmt src/*.zig src/**/*.zig",
"lint": "eslint './**/*.d.ts' --cache",
"lint:fix": "eslint './**/*.d.ts' --cache --fix"
},