mirror of
https://github.com/lux-tel/session-ios.git
synced 2026-10-30 20:38:32 +00:00
• Added SwiftLint to streamline finding strong reference cycles (left it in because why not) • Fixed some issues flagged by SwiftLint • Updated the return key on the `NewClosedGroupVC` to dismiss the keyboard • Updated the logic for screens which observe database changes to avoid destroying and recreating observers when going to and returning from the background
20 lines
530 B
YAML
20 lines
530 B
YAML
# .swiftlint.yml
|
|
|
|
disabled_rules:
|
|
- type_body_length
|
|
- function_body_length
|
|
- function_parameter_count
|
|
- large_tuple
|
|
- trailing_whitespace
|
|
- opening_brace
|
|
- identifier_name
|
|
- statement_position
|
|
- control_statement
|
|
- type_name # Would be good to add back once our `{name}_SwiftUI` convention can be removed
|
|
- cyclomatic_complexity # Would be good to add this back (will need to fix issues)
|
|
|
|
# This section adds custom configurations for rules
|
|
switch_case_alignment:
|
|
severity: warning
|
|
indented_cases: true
|