Add ident style configuration for EditorConfig (http://editorconfig.org/):

.editorconfig: New file.
Makefile.am: Add new file to source tarball.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4385 4ea69e1a-61f1-4043-bf83-b5c94c648137
pull/1/merge
chrfranke 6 years ago
parent fba88fe1ca
commit 8d8cabd098
  1. 51
      smartmontools/.editorconfig
  2. 7
      smartmontools/ChangeLog
  3. 1
      smartmontools/Makefile.am

@ -0,0 +1,51 @@
# smartmontools indent style settings for EditorConfig
# http://editorconfig.org/
# $Id$
# 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
[/os_win32/syslog_win32.cpp]
indent_style = tab
indent_size = 4
tab_width = 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

@ -1,5 +1,12 @@
$Id$
2017-01-28 Christian Franke <franke@computer.org>
Add ident style configuration for EditorConfig
(http://editorconfig.org/):
.editorconfig: New file.
Makefile.am: Add new file to source tarball.
2017-01-21 Christian Franke <franke@computer.org>
drivedb.h:

@ -365,6 +365,7 @@ uninstall-sysconfDATA:
smartdscript_SCRIPTS = smartd_warning.sh
EXTRA_DIST = \
.editorconfig \
autogen.sh \
smartd.initd.in \
smartd.freebsd.initd.in \

Loading…
Cancel
Save