]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
style: change max line length to 120 including \n
authorruss <rucombs@cisco.com>
Wed, 6 Jul 2022 15:14:58 +0000 (11:14 -0400)
committerRuss Combs (rucombs) <rucombs@cisco.com>
Sat, 13 Aug 2022 18:39:07 +0000 (18:39 +0000)
crusty.cfg
doc/devel/style.txt

index acf3dfa233a5396e0d330f57c66a65a49be0e79a..bff7657df798cb96f9c9dc0fcecf65a83d59e138 100644 (file)
@@ -1244,7 +1244,7 @@ pos_class_colon                          = ignore   # ignore/join/lead/lead_brea
 #
 
 # Try to limit code width to N number of columns
-code_width                               = 99        # number
+code_width                               = 119      # number
 
 # Whether to fully split long 'for' statements at semi-colons
 ls_for_split_full                        = false    # false/true
@@ -1253,7 +1253,7 @@ ls_for_split_full                        = false    # false/true
 ls_func_split_full                       = false    # false/true
 
 # Whether to split lines as close to code_width as possible and ignore some groupings
-ls_code_width                            = true    # false/true
+ls_code_width                            = true     # false/true
 
 #
 # Blank line options
index f1e124a818f8ecc440391948d929e6f62f3e3c62..8f81cf0de2ae09917d11c2dd6b94a5e5753d06d4 100644 (file)
@@ -213,7 +213,7 @@ yet firm so feedback is welcome to get something we can live with.
   signature, if, else, loop, switch, etc.
 
 * Use consistent spacing and line breaks.  Always indent 4 spaces from the
-  breaking line.  Keep lines less than 100 chars; it greatly helps
+  breaking line.  Keep lines less than 120 chars; it greatly helps
   readability.
 
     No: