Initial commit
This commit is contained in:
6
hooks/auto-format-typescript.json
Normal file
6
hooks/auto-format-typescript.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"event": "PostToolUse",
|
||||
"tool": "Write",
|
||||
"pattern": "**/*.{ts,tsx}",
|
||||
"command": "npx prettier --write \"$FILE_PATH\" 2>&1"
|
||||
}
|
||||
Reference in New Issue
Block a user