# Versions
--swiftversion 5.9
--minversion 0.51.13

# Header
--header "\n Heise Swift Macros\n Copyright © 2023 Gero Gerber. All rights reserved.\n"

# Disable: Wrap the opening brace of multiline statements
--disable wrapMultilineStatementBraces

# Disable: Insert/remove explicit self where applicable
# Developer can decide whether to insert self or not
--disable redundantSelf

# Disable: Prefer comma over && in if, guard or while conditions.
--disable andOperator

# Add or remove trailing comma from the last item in a collection literal
# Ensures conformance to trailing_comma swiftlint rule
--commas inline

# indent by 2 instead of 4 spaces to reduce line length esp. in SwiftUI Views
--indent 4

# Indent cases in switch statement
--indentcase true

# Mark unused function arguments with _
--stripunusedargs closure-only
