From: russ Date: Wed, 6 Jul 2022 15:14:58 +0000 (-0400) Subject: style: change max line length to 120 including \n X-Git-Tag: 3.1.40.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee4f1f23cb8f15793f98e6d56f6a27b7d475ef01;p=thirdparty%2Fsnort3.git style: change max line length to 120 including \n --- diff --git a/crusty.cfg b/crusty.cfg index acf3dfa23..bff7657df 100644 --- a/crusty.cfg +++ b/crusty.cfg @@ -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 diff --git a/doc/devel/style.txt b/doc/devel/style.txt index f1e124a81..8f81cf0de 100644 --- a/doc/devel/style.txt +++ b/doc/devel/style.txt @@ -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: