16 lines
341 B
Django/Jinja
16 lines
341 B
Django/Jinja
{
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"command": "{% if layout == 'part' %}cd frontend && {% endif %}bun run fix{% if linter == 'biome' %} --skip=correctness/noUnusedImports{% endif %}",
|
|
"type": "command"
|
|
}
|
|
],
|
|
"matcher": "Write|Edit"
|
|
}
|
|
]
|
|
}
|
|
}
|