forked from osmocom/wireshark
Start adding EditorConfig files.
Add EditorConfig files where we currently have consistent indentation. This might let us get rid of our editor modeline footers at some point. Change-Id: I156f8d25cfa0050786eb2186c4b2e6d183c3a9ce Reviewed-on: https://code.wireshark.org/review/12383 Reviewed-by: João Valverde <j@v6e.pt>
This commit is contained in:
parent
4dae247ed2
commit
b63a8bdcb7
|
@ -0,0 +1,24 @@
|
|||
#
|
||||
# Editor configuration
|
||||
#
|
||||
# http://editorconfig.org/
|
||||
#
|
||||
|
||||
# Global settings
|
||||
|
||||
# We're the top. We're the Coliseum.
|
||||
root = true
|
||||
|
||||
[*]
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
# Autotools, Make, Nmake
|
||||
[{Makefile.am,Makefile,Makefile.nmake,config.nmake}]
|
||||
indent_style = tab
|
||||
|
||||
# Python
|
||||
[*.py]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
charset = utf-8
|
|
@ -688,6 +688,7 @@ MAINTAINERCLEANFILES = \
|
|||
ylwrap
|
||||
|
||||
EXTRA_DIST = \
|
||||
.editorconfig \
|
||||
.mailmap \
|
||||
INSTALL.configure \
|
||||
Makefile.am.inc \
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
# Qt sources
|
||||
|
||||
# Qt Creator defaults to 4 columns of spaces but doesn't yet support
|
||||
# EditorConfig:
|
||||
# https://bugreports.qt.io/browse/QTCREATORBUG-14013
|
||||
[*.{cpp,h}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
tab_width = 8
|
|
@ -291,6 +291,7 @@ EXTRA_DIST = \
|
|||
$(QRC_FILES) \
|
||||
$(TS_FILES) \
|
||||
$(QM_FILES) \
|
||||
.editorconfig \
|
||||
CMakeLists.txt \
|
||||
doxygen.cfg.in \
|
||||
Makefile.common \
|
||||
|
|
Loading…
Reference in New Issue