@@ -29,101 +29,92 @@ trim_trailing_whitespace = true
2929insert_final_newline = true
3030
3131# Set properties for JavaScript files:
32- [* .js ]
33- indent_style = tab
34-
35- [* .js.txt ]
32+ [* .{js,js.txt} ]
3633indent_style = tab
3734
3835# Set properties for JavaScript ES module files:
39- [* .mjs ]
40- indent_style = tab
41-
42- [* .mjs.txt ]
36+ [* .{mjs,mjs.txt} ]
4337indent_style = tab
4438
4539# Set properties for JavaScript CommonJS files:
46- [* .cjs ]
40+ [* .{ cjs,cjs.txt} ]
4741indent_style = tab
4842
49- [* .cjs.txt ]
50- indent_style = tab
43+ # Set properties for JSON files:
44+ [* .{json,json.txt} ]
45+ indent_style = space
46+ indent_size = 2
5147
5248# Set properties for TypeScript files:
5349[* .ts ]
5450indent_style = tab
5551
5652# Set properties for Python files:
57- [* .py ]
53+ [* .{py,py.txt} ]
5854indent_style = space
5955indent_size = 4
6056
6157# Set properties for Julia files:
62- [* .jl ]
58+ [* .{jl,jl.txt} ]
6359indent_style = tab
6460
6561# Set properties for R files:
66- [* .R ]
62+ [* .{R,R.txt} ]
6763indent_style = tab
6864
6965# Set properties for C files:
70- [* .c ]
66+ [* .{c,c.txt} ]
7167indent_style = tab
7268
7369# Set properties for C header files:
74- [* .h ]
70+ [* .{h,h.txt} ]
7571indent_style = tab
7672
7773# Set properties for C++ files:
78- [* .cpp ]
74+ [* .{ cpp,cpp.txt} ]
7975indent_style = tab
8076
8177# Set properties for C++ header files:
82- [* .hpp ]
78+ [* .{ hpp,hpp.txt} ]
8379indent_style = tab
8480
8581# Set properties for Fortran files:
86- [* .f ]
82+ [* .{f,f.txt} ]
8783indent_style = space
8884indent_size = 2
8985insert_final_newline = false
9086
9187# Set properties for shell files:
92- [* .sh ]
88+ [* .{sh,sh.txt} ]
9389indent_style = tab
9490
9591# Set properties for AWK files:
96- [* .awk ]
92+ [* .{ awk,awk.txt} ]
9793indent_style = tab
9894
9995# Set properties for HTML files:
100- [* .html ]
96+ [* .{ html,html.txt} ]
10197indent_style = tab
10298tab_width = 2
10399
104100# Set properties for XML files:
105- [* .xml ]
101+ [* .{ xml,xml.txt} ]
106102indent_style = tab
107103tab_width = 2
108104
109105# Set properties for CSS files:
110- [* .css ]
106+ [* .{ css,css.txt} ]
111107indent_style = tab
112108
113109# Set properties for Makefiles:
114110[Makefile ]
115111indent_style = tab
116112
117- [* .mk ]
113+ [* .{mk,mk.txt} ]
118114indent_style = tab
119115
120116# Set properties for Markdown files:
121- [* .md ]
122- indent_style = space
123- indent_size = 4
124- trim_trailing_whitespace = false
125-
126- [* .md.txt ]
117+ [* .{md,md.txt} ]
127118indent_style = space
128119indent_size = 4
129120trim_trailing_whitespace = false
@@ -139,7 +130,7 @@ indent_style = space
139130indent_size = 4
140131
141132# Set properties for `package.json` files:
142- [package.json ]
133+ [package.{ json,json.txt} ]
143134indent_style = space
144135indent_size = 2
145136
@@ -164,15 +155,15 @@ indent_style = space
164155indent_size = 2
165156
166157# Set properties for LaTeX files:
167- [* .tex ]
158+ [* .{ tex,tex.txt} ]
168159indent_style = tab
169160
170161# Set properties for LaTeX Bibliography files:
171- [* .bib ]
162+ [* .{ bib,bib.txt} ]
172163indent_style = tab
173164
174165# Set properties for YAML files:
175- [* .yml ]
166+ [* .{ yml,yml.txt} ]
176167indent_style = space
177168indent_size = 2
178169
0 commit comments