A code formatter for Julia with rules set in stone.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1.0 KiB

TODOs, notes, and various thoughts

Inconsistencies

  • The spaces_around_operators rule have the following inconsistencies.

    • :, ^, and :: instead fall under no_spaces_around_colon_etc:

      # current formatting      # "consistent" formatting
      a:b                       a : b                            
      a^b                       a ^ b                            
      a::b                      a :: b                           
      
    • <: and <: fall under no_spaces_around_colon_etc if they have no LHS:

      # current formatting      # "consistent" formatting
      a <: b                    a <: b                           
      a >: b                    a >: b                           
      a{c <: b}                 a{c <: b}                        
      a{c >: b}                 a{c >: b}                        
      a{<:b}                    a{<: b}                          
      a{>:b}                    a{>: b}