[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] maintainer-makefile: Add indentation syntax-check rule.
From: |
Jim Meyering |
Subject: |
Re: [PATCH] maintainer-makefile: Add indentation syntax-check rule. |
Date: |
Sat, 4 Sep 2021 10:29:16 +0200 |
On Fri, Sep 3, 2021 at 10:06 PM Simon Josefsson via Gnulib discussion
list <bug-gnulib@gnu.org> wrote:
> Hi. I realized the main reason I don't consistenly enforce code
> indentation in the projects I work on is that it isn't tested before
> releases (or via CICD builds). The syntax-check framework to the
> rescue! Not everyone will like this, but as usual it is simple to
> disable on a per-project basis, and I do think it is a generally good
> rule to always have indented code in projects to avoid slow detoriation
> of code style. Thoughts? I'm enabling this for a couple of projects
> now, and it catched some newly added code with poor indentation.
I like it. Thanks.
Will probably use it in at least 2-3 projects.
> Btw, I think one of the really big advantages with gnulib's
> maintainer-makefile are the automatic syntax-checks -- but have we
> documented or promoted this feature anywhere?
Good point. It seems not.