safe-chains 0.136.1

Auto-allow safe bash commands in agentic coding tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
[[command]]
name = "swiftformat"
description = "Opinionated code formatter for Swift source files. In default mode, it rewrites files in place — a write operation. --lint mode reports formatting violations to stderr without modifying files (read-only). --dryrun previews what would change without writing (read-only). The tool parses Swift source into a token stream and applies configurable rules; it never contacts the network. SwiftFormat has nightly automated releases from the develop branch, with frequent rule additions and behavioral changes; ongoing review of new rules is warranted."
url = "https://github.com/nicklockwood/SwiftFormat"
level = "SafeRead"
bare = false
require_any = ["--dryrun", "--lint"]
standalone = [
    "--dryrun", "--lenient", "--lint", "--quiet", "--strict", "--verbose",
    "--help", "-h",
]
valued = ["--config", "--disable", "--enable", "--rules"]