mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-13 21:33:32 +08:00
Add Kiro IDE support (.kiro/) (#548)
Co-authored-by: Sungmin Hong <hsungmin@amazon.com>
This commit is contained in:
14
.kiro/hooks/console-log-check.kiro.hook
Normal file
14
.kiro/hooks/console-log-check.kiro.hook
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"enabled": true,
|
||||
"name": "console-log-check",
|
||||
"description": "Check for console.log statements in JavaScript and TypeScript files to prevent debug code from being committed.",
|
||||
"when": {
|
||||
"type": "fileEdited",
|
||||
"patterns": ["*.js", "*.ts", "*.tsx"]
|
||||
},
|
||||
"then": {
|
||||
"type": "askAgent",
|
||||
"prompt": "A JavaScript or TypeScript file was just saved. Check if it contains any console.log statements that should be removed before committing. If found, flag them and offer to remove them."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user