devtools: add EditorConfig file
authorRobin Jarry <robin.jarry@6wind.com>
Fri, 25 Oct 2019 14:04:10 +0000 (16:04 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 22 Feb 2020 20:05:22 +0000 (21:05 +0100)
commit5112e680015ed53f131d662109b03d7953c34b31
tree2dc04b13f4b8952b8f348e8f901b6a874aa6b019
parent7b6875ba6f37b32997d25e5e43ce62e99ca10597
devtools: add EditorConfig file

EditorConfig is a file format and collection of text editor plugins for
maintaining consistent coding styles between different editors and IDEs.

Initialize the file following the coding rules in
doc/guides/contributing/coding_style.rst,
doc/guides/contributing/documentation.rst and
doc/guides/contributing/patches.rst.

In order for this file to be taken into account (unless they use an
editor with built-in EditorConfig support), developers will have to
install a plugin.

Note: The max_line_length property is only supported by a limited number
of EditorConfig plugins. It will be ignored if unsupported.

Add this new file in MAINTAINERS in the "Developers and Maintainers
Tools" section.

Link: https://editorconfig.org/
Link: https://github.com/editorconfig/editorconfig-emacs
Link: https://github.com/editorconfig/editorconfig-vim
Link: https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties#max_line_length
Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
.editorconfig [new file with mode: 0644]
MAINTAINERS