mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-30 13:43:26 +08:00
15 lines
450 B
Plaintext
15 lines
450 B
Plaintext
{
|
|
"name": "auto-format",
|
|
"version": "1.0.0",
|
|
"enabled": true,
|
|
"description": "Automatically format TypeScript and JavaScript files on save",
|
|
"when": {
|
|
"type": "fileEdited",
|
|
"patterns": ["*.ts", "*.tsx", "*.js"]
|
|
},
|
|
"then": {
|
|
"type": "askAgent",
|
|
"prompt": "A TypeScript or JavaScript file was just saved. If there are any obvious formatting issues (indentation, trailing whitespace, import ordering), fix them now."
|
|
}
|
|
}
|