diff options
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..45aefff --- /dev/null +++ b/.editorconfig @@ -0,0 +1,46 @@ +# smartmontools indent style settings for EditorConfig +# https://editorconfig.org/ +# $Id: .editorconfig 5497 2023-07-10 16:18:14Z chrfranke $ + +# top-most file +root = true + +[*] +indent_style = space +indent_size = 2 +tab_width = 8 + +[/ChangeLog] +indent_style = tab +indent_size = 8 + +[Makefile*] +# Rule recipes require tab characters (spaces are used elsewhere) +indent_style = tab +indent_size = 8 + +# TODO: Fix files with other indent styles +[/scsiata.cpp] +# indent_size = 2 and 4 + +[/scsicmds.*] +indent_size = 4 + +[/scsiprint.cpp] +indent_size = 4 + +# Keep indent style of imported files as is +[/*_nvme_ioctl.h] +indent_style = tab +indent_size = 8 + +[/csmisas.h] +indent_size = 3 + +[/getopt/getopt.*] +indent_style = tab +indent_size = 2 + +[/regex/reg*.*] +indent_style = tab +indent_size = 2 |