[dpdk-dev] [PATCH] tools: add EditorConfig file

Stephen Hemminger stephen at networkplumber.org
Fri Oct 18 17:48:59 CEST 2019


On Fri, 18 Oct 2019 09:59:54 +0200
Robin Jarry <robin.jarry at 6wind.com> wrote:

> diff --git a/.editorconfig b/.editorconfig
> new file mode 100644
> index 000000000000..c5704d89b8c6
> --- /dev/null
> +++ b/.editorconfig
> @@ -0,0 +1,23 @@
> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright 2019 6WIND S.A.
> +
> +root = true
> +
> +[*]
> +end_of_line = lf
> +insert_final_newline = true
> +charset = utf-8
> +indent_style = tab
> +tab_width = 8
> +max_line_length = 80

Why not add this (since git doesn't like trailing whitespace).

trim_trailing_whitespace=true


More information about the dev mailing list