[Dnsmasq-discuss] code style
shota at eero.com
Sat Sep 7 17:25:25 BST 2019
Whatever the width of the tab is, converting all tabs to whitespaces (or
the other way around) would be better.
If code formatting was forced at the time of each commit, there would be no
need for anybody to set the tab width on their editor.
Consistent coding style will help more developers in the future.
On Sat, Sep 7, 2019 at 8:11 AM Geert Stappers <stappers at stappers.nl> wrote:
> On Sat, Sep 07, 2019 at 10:41:34AM +0200, Dominik wrote:
> > On Fri, 2019-09-06 at 22:09 -0700, Shota Hino wrote:
> > > It seems the use of tabs are not consistent.
> > > On some IDE, the lines are misaligned and very difficult to read.
> > >
> > > Could you please run code formatter?
> > >
> > Set your tab width to 8. With this setting, I'm not seeing
> > inconsistencies in the dnsmasq codebase.
> The very same size of 8 characters for tab is documented
> in the coding style of the Linux kernel.
> we could (and should) add coding style definition to this project.
> Main reason is ending discussion on coding style is
> to get more time on discussion how and where to improve Dnsmasq.
> Geert Stappers
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dnsmasq-discuss