Skip to content

Commit c849451

Browse files
committed
.editorconfig: Only enforce tab width of 8 for core headers.
1 parent 22817b2 commit c849451

File tree

1 file changed

+68
-87
lines changed

1 file changed

+68
-87
lines changed

.editorconfig

+68-87
Original file line numberDiff line numberDiff line change
@@ -32,117 +32,98 @@ indent_size = 2
3232
indent_style = space
3333
indent_size = 2
3434

35-
# Core files where we gave up and use a tab size of 4
36-
[cracker.c]
37-
indent_size = 4
38-
39-
[inc.c]
40-
indent_size = 4
41-
42-
[loader.c]
43-
indent_size = 4
44-
45-
[rules.c]
46-
indent_size = 4
47-
48-
[single.c]
49-
indent_size = 4
50-
51-
[wordlist.c]
52-
indent_size = 4
53-
54-
# Core files otherwise use a tab size of 8
35+
# Core files best keeping a tab size of 8
5536
[*.{S,sh}]
5637
indent_size = 8
5738

58-
[AFS_fmt.[ch]]
39+
[AFS_fmt.h]
5940
indent_size = 8
6041

61-
[BF_fmt.[ch]]
42+
[BF_fmt.h]
6243
indent_size = 8
6344

64-
[BF_std.[ch]]
45+
[BF_std.h]
6546
indent_size = 8
6647

67-
[BSDI_fmt.[ch]]
48+
[BSDI_fmt.h]
6849
indent_size = 8
6950

70-
[DES_bs.[ch]]
51+
[DES_bs.h]
7152
indent_size = 8
7253

73-
[DES_bs_b.[ch]]
54+
[DES_bs_b.h]
7455
indent_size = 8
7556

76-
[DES_fmt.[ch]]
57+
[DES_fmt.h]
7758
indent_size = 8
7859

79-
[DES_std.[ch]]
60+
[DES_std.h]
8061
indent_size = 8
8162

82-
[LM_fmt.[ch]]
63+
[LM_fmt.h]
8364
indent_size = 8
8465

85-
[MD5_fmt.[ch]]
66+
[MD5_fmt.h]
8667
indent_size = 8
8768

88-
[MD5_std.[ch]]
69+
[MD5_std.h]
8970
indent_size = 8
9071

91-
[alpha.[ch]]
72+
[alpha.h]
9273
indent_size = 8
9374

94-
[arm32le.[ch]]
75+
[arm32le.h]
9576
indent_size = 8
9677

97-
[batch.[ch]]
78+
[batch.h]
9879
indent_size = 8
9980

100-
[bench.[ch]]
81+
[bench.h]
10182
indent_size = 8
10283

10384
[best.*]
10485
indent_size = 8
10586

106-
[c3_fmt.[ch]]
87+
[c3_fmt.h]
10788
indent_size = 8
10889

109-
[charset.[ch]]
90+
[charset.h]
11091
indent_size = 8
11192

112-
[common.[ch]]
93+
[common.h]
11394
indent_size = 8
11495

115-
[compiler.[ch]]
96+
[compiler.h]
11697
indent_size = 8
11798

118-
[config.[ch]]
99+
[config.h]
119100
indent_size = 8
120101

121102
[cracker.h]
122103
indent_size = 8
123104

124-
[crc32.[ch]]
105+
[crc32.h]
125106
indent_size = 8
126107

127-
[detect.[ch]]
108+
[detect.h]
128109
indent_size = 8
129110

130-
[dummy.[ch]]
111+
[dummy.h]
131112
indent_size = 8
132113

133-
[external.[ch]]
114+
[external.h]
134115
indent_size = 8
135116

136-
[formats.[ch]]
117+
[formats.h]
137118
indent_size = 8
138119

139-
[getopt.[ch]]
120+
[getopt.h]
140121
indent_size = 8
141122

142-
[ia64.[ch]]
123+
[ia64.h]
143124
indent_size = 8
144125

145-
[idle.[ch]]
126+
[idle.h]
146127
indent_size = 8
147128

148129
[inc.h]
@@ -152,131 +133,131 @@ indent_size = 8
152133
indent_size = 8
153134
end_of_line = crlf
154135

155-
[john.[ch]]
136+
[john.h]
156137
indent_size = 8
157138

158-
[list.[ch]]
139+
[list.h]
159140
indent_size = 8
160141

161142
[loader.h]
162143
indent_size = 8
163144

164-
[logger.[ch]]
145+
[logger.h]
165146
indent_size = 8
166147

167-
[math.[ch]]
148+
[math.h]
168149
indent_size = 8
169150

170-
[memory.[ch]]
151+
[memory.h]
171152
indent_size = 8
172153

173-
[mic.[ch]]
154+
[mic.h]
174155
indent_size = 8
175156

176-
[mips32.[ch]]
157+
[mips32.h]
177158
indent_size = 8
178159

179-
[mips64.[ch]]
160+
[mips64.h]
180161
indent_size = 8
181162

182-
[misc.[ch]]
163+
[misc.h]
183164
indent_size = 8
184165

185-
[nonstd.[ch]]
166+
[nonstd.h]
186167
indent_size = 8
187168

188-
[options.[ch]]
169+
[options.h]
189170
indent_size = 8
190171

191-
[os.[ch]]
172+
[os.h]
192173
indent_size = 8
193174

194-
[pa-risc.[ch]]
175+
[pa-risc.h]
195176
indent_size = 8
196177

197-
[params.[ch]]
178+
[params.h]
198179
indent_size = 8
199180

200-
[path.[ch]]
181+
[path.h]
201182
indent_size = 8
202183

203-
[ppc32.[ch]]
184+
[ppc32.h]
204185
indent_size = 8
205186

206-
[ppc32alt.[ch]]
187+
[ppc32alt.h]
207188
indent_size = 8
208189

209-
[ppc64.[ch]]
190+
[ppc64.h]
210191
indent_size = 8
211192

212-
[ppc64alt.[ch]]
193+
[ppc64alt.h]
213194
indent_size = 8
214195

215-
[recovery.[ch]]
196+
[recovery.h]
216197
indent_size = 8
217198

218-
[rpp.[ch]]
199+
[rpp.h]
219200
indent_size = 8
220201

221202
[rules.h]
222203
indent_size = 8
223204

224-
[sboxes-s.[ch]]
205+
[sboxes-s.h]
225206
indent_size = 8
226207

227-
[sboxes.[ch]]
208+
[sboxes.h]
228209
indent_size = 8
229210

230-
[signals.[ch]]
211+
[signals.h]
231212
indent_size = 8
232213

233214
[single.h]
234215
indent_size = 8
235216

236-
[sparc32.[ch]]
217+
[sparc32.h]
237218
indent_size = 8
238219

239-
[sparc64.[ch]]
220+
[sparc64.h]
240221
indent_size = 8
241222

242-
[status.[ch]]
223+
[status.h]
243224
indent_size = 8
244225

245-
[symlink.[ch]]
226+
[symlink.h]
246227
indent_size = 8
247228

248-
[times.[ch]]
229+
[times.h]
249230
indent_size = 8
250231

251-
[trip_fmt.[ch]]
232+
[trip_fmt.h]
252233
indent_size = 8
253234

254-
[tty.[ch]]
235+
[tty.h]
255236
indent_size = 8
256237

257-
[unafs.[ch]]
238+
[unafs.h]
258239
indent_size = 8
259240

260-
[unique.[ch]]
241+
[unique.h]
261242
indent_size = 8
262243

263-
[unshadow.[ch]]
244+
[unshadow.h]
264245
indent_size = 8
265246

266-
[vax.[ch]]
247+
[vax.h]
267248
indent_size = 8
268249

269250
[wordlist.h]
270251
indent_size = 8
271252

272-
[x86-64.[ch]]
253+
[x86-64.h]
273254
indent_size = 8
274255

275-
[x86-any.[ch]]
256+
[x86-any.h]
276257
indent_size = 8
277258

278-
[x86-mmx.[ch]]
259+
[x86-mmx.h]
279260
indent_size = 8
280261

281-
[x86-sse.[ch]]
262+
[x86-sse.h]
282263
indent_size = 8

0 commit comments

Comments
 (0)