File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,20 +9,20 @@ excluded:
99#  Rules to disable for example code
1010disabled_rules :
1111  - trailing_whitespace  #  Example code may have formatting variations
12+   - unneeded_break_in_switch  #  Common in example code for clarity
1213
1314#  Opt-in rules to enable
1415opt_in_rules :
1516  - empty_count  #  Prefer isEmpty over count == 0
1617  - empty_string  #  Prefer isEmpty over == ""
17-   - force_unwrapping  #  Catch force unwraps (!) which can crash
18-   - redundant_optional_initialization  #  Catch unnecessary = nil
19-   - explicit_init  #  Prefer .init() over direct initializer
18+   - implicit_optional_initialization  #  Catch unnecessary = nil
2019
2120#  Configure rule thresholds
2221line_length :
23-   warning : 120 
24-   error : 150 
22+   warning : 150 
23+   error : 250 
2524  ignores_comments : true 
25+   ignores_urls : true 
2626
2727function_body_length :
2828  warning : 60 
Original file line number Diff line number Diff line change 3333        run : swiftlint version 
3434
3535      - name : Lint Swift code 
36-         run : swiftlint lint Swift --config .github/workflows/build/.swiftlint.yml --strict -- reporter github-actions-logging 
36+         run : swiftlint lint Swift --config .github/workflows/build/.swiftlint.yml --reporter github-actions-logging 
3737
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments