Re: [PATCH v4] Add .editorconfig file for basic formatting

From: Jonathan Corbet
Date: Sun Oct 22 2023 - 22:29:01 EST


Vincent MAILHOL <mailhol.vincent@xxxxxxxxxx> writes:

> On Thu. 1 June 2023 at 16:53, Íñigo Huguet <ihuguet@xxxxxxxxxx> wrote:
>> EditorConfig is a specification to define the most basic code formatting
>> stuff, and it's supported by many editors and IDEs, either directly or
>> via plugins, including VSCode/VSCodium, Vim, emacs and more.
>>
>> It allows to define formatting style related to indentation, charset,
>> end of lines and trailing whitespaces. It also allows to apply different
>> formats for different files based on wildcards, so for example it is
>> possible to apply different configs to *.{c,h}, *.py and *.rs.
>>
>> In linux project, defining a .editorconfig might help to those people
>> that work on different projects with different indentation styles, so
>> they cannot define a global style. Now they will directly see the
>> correct indentation on every fresh clone of the project.
>>
>> See https://editorconfig.org
>>
>> Co-developed-by: Danny Lin <danny@xxxxxxxxxxx>
>> Signed-off-by: Danny Lin <danny@xxxxxxxxxxx>
>> Signed-off-by: Íñigo Huguet <ihuguet@xxxxxxxxxx>
>> ---
>
> Is there any news for this patch? I would really love this to become mainstream.

I have concerns about this patch that I have expressed in the past.

I'm not going to apply it... since it's a global change that affects all
kernel developers, I don't think I *should* apply it. I would recommend
sending it directly to Linus; if you can get an ack from him, I'll apply
it then.

Thanks,

jon