[dpdk-dev] [PATCH v2] devtools: add EditorConfig file

Thomas Monjalon thomas at monjalon.net
Sat Feb 22 21:03:16 CET 2020


25/10/2019 16:04, Robin Jarry:
> 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
> Cc: Thomas Monjalon <thomas at monjalon.net>
> Cc: Stephen Hemminger <stephen at networkplumber.org>
> Cc: Anatoly Burakov <anatoly.burakov at intel.com>
> Cc: Keith Wiles <keith.wiles at intel.com>
> Cc: Ray Kinsella <mdr at ashroe.eu>
> Cc: Andrew Rybchenko <arybchenko at solarflare.com>
> Signed-off-by: Robin Jarry <robin.jarry at 6wind.com>
> ---
> Changelog:
> 
> v2:
> 
> - Add link to editorconfig.org in file for syntax reference.
> - Use [*.EXT] syntax for section headers (as shown on home page).
> - Add trim_trailing_whitespace option.

This patch was forgotten, sorry.

Applied, thanks it looks to be a good addition.




More information about the dev mailing list