Files

35 lines
803 B
YAML

included:
- App
- Packages/VorleserKit/Sources
- Packages/VorleserKit/Tests
excluded:
- .build
- Packages/VorleserKit/.build
- Vorleser.xcodeproj
disabled_rules:
- trailing_comma # handled by swiftformat
- todo # TODOs reference task IDs during development
opt_in_rules:
- force_unwrapping
- implicitly_unwrapped_optional
- fatal_error_message
- empty_count
- first_where
- sorted_first_last
- unowned_variable_capture
line_length:
warning: 120
error: 160
type_body_length:
warning: 300
file_length:
warning: 500
identifier_name:
excluded: [id, i, t, x, y, ok, to]
custom_rules:
no_print_in_app:
included: "App/.*\\.swift"
regex: "\\bprint\\("
message: "Use os.Logger instead of print in the app target."
severity: error