f2cdd95f2d
To help with consistency across all files, add a section to the contributors guide on meson coding style. Although short, this covers the basics for now, and can be extended in future as we see the need. Meson style guide recommends four-space indents, like for python, so add to editorconfig file. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
31 lines
483 B
INI
31 lines
483 B
INI
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2019 6WIND S.A.
|
|
# See https://editorconfig.org/ for syntax reference.
|
|
|
|
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
charset = utf-8
|
|
indent_style = tab
|
|
tab_width = 8
|
|
max_line_length = 80
|
|
|
|
[*.py]
|
|
indent_style = space
|
|
indent_size = 4
|
|
|
|
[meson.build]
|
|
indent_style = space
|
|
indent_size = 4
|
|
tab_width = 4
|
|
|
|
[*.rst]
|
|
indent_style = space
|
|
indent_size = 3
|
|
|
|
[COMMIT_EDITMSG]
|
|
max_line_length = 72
|