summaryrefslogtreecommitdiffstats
path: root/.editorconfig
blob: 45aefffda2a68de6cd8ef4bbcdd5a2d55140fdc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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