8000 ECC/rules/swift/hooks.md at main · hcmue-hmduck/ECC · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 509 Bytes

hooks.md

File metadata and controls

20 lines (14 loc) · 509 Bytes
paths
**/*.swift
**/Package.swift

Swift Hooks

This file extends common/hooks.md with Swift specific content.

PostToolUse Hooks

Configure in ~/.claude/settings.json:

  • SwiftFormat: Auto-format .swift files after edit
  • SwiftLint: Run lint checks after editing .swift files
  • swift build: Type-check modified packages after edit

Warning

Flag print() statements — use os.Logger or structured logging instead for production code.

0