[Dnsmasq-discuss] Retransmitting: [PATCH] new file: CodingStyle

'Geert Stappers stappers at stappers.nl
Thu Nov 3 15:43:12 UTC 2022


On Thu, Nov 03, 2022 at 04:25:00PM +0100, 'Geert Stappers wrote:
> new file:   CodingStyle
> 
> Documents how to indent.

It is the part of coding style we agree on.


> (further codingstyle will be machine readable)
> ---
>  CodingStyle | 8 ++++++++
>  1 file changed, 8 insertions(+)
>  create mode 100644 CodingStyle
> 
> diff --git a/CodingStyle b/CodingStyle
> new file mode 100644
> index 0000000..5457dd8
> --- /dev/null
> +++ b/CodingStyle
> @@ -0,0 +1,8 @@
> +
> +Indentation
> +-----------
> +
> +We indent by 2 spaces.
> +When we are doing that for 4th time, we use a tab, not 8 spaces.
> +Next indents are again 2 spaces and replace again with tab
> +on modulo 4 indents.
> -- 
> 2.37.2



Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list