[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNATibD4_joj_-2WTxBxZCkVRWvuDv1YGq2njfr4E5CjzhA@mail.gmail.com>
Date: Tue, 14 May 2019 09:54:48 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Joe Perches <joe@...ches.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andy Whitcroft <apw@...onical.com>
Subject: Re: [Proposal] end of file checks by checkpatch.pl
On Tue, May 14, 2019 at 9:01 AM Joe Perches <joe@...ches.com> wrote:
>
> On Tue, 2019-05-14 at 08:46 +0900, Masahiro Yamada wrote:
> > So, I think these two checks can be done for
> > all file types.
> []
> > checkpatch.pl misses to report most of them.
> > (the majority of the warning source is *.json)
>
> Perhaps the json files should be ignored as more than
> half of the .json files in the tree are missing the
> newline at EOF.
I guess they are accident.
I do not think missing newline in *.json
is syntactically significant.
If we are unsure, it is better to ask the maintainers.
> And at least some of those json files use spaces for
> indentation and not tabs.
This is different stuff.
Indentation and newline at EOF are not linked.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists