diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /.editorconfig | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..0d815e2b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,76 @@ +# +# Editor configuration +# +# https://editorconfig.org +# + +# Global settings + +# We're the top. We're the Coliseum. +root = true + +[*] +tab_width = 8 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +# CMake +# The CMake project itself uses two spaces: +# https://gitlab.kitware.com/cmake/cmake/-/blob/master/.editorconfig +[{CMake*,*.cmake,*.cmake.in}] +indent_style = tab +[CMake*.json] +indent_style = space +indent_size = 2 + +# Makefiles. Although we dropped Autotools we still have a few lying around. +[Makefile*] +indent_style = tab +indent_size = 8 + +# Python +[*.{py,py.in}] +indent_style = space +indent_size = 4 + +# Lemon +[*.lemon] +indent_style = space +indent_size = 4 + +# WiX. The `xmllint --format` default is two spaces. +[*.wx?] +indent_style = space +indent_size = 2 + +# NSIS +[*.ns[ih]] +indent_style = space +indent_size = 2 + +# YAML +[*.yml] +indent_style = space +indent_size = 2 + +# Asciidoc +[*.adoc] +indent_style = space +indent_size = 4 + +# GraphViz. The examples at https://gitlab.com/graphviz/graphviz/-/blob/master/graphs +# seem to be all over the place, so just go with 4 spaces for now. +[*.gv] +indent_style = space +indent_size = 4 + +# C/C++/Objective C +[*.{c,cpp,h,m}] +indent_style = space +indent_size = 4 + +# Flex (lexical analyzer generator) +[*.l] +indent_style = tab +indent_size = 8 |