@@ -29,74 +29,92 @@ trim_trailing_whitespace = true
2929insert_final_newline = true
3030
3131# Set properties for JavaScript files:
32- [* .js ]
32+ [* .{js,js.txt} ]
3333indent_style = tab
3434
35+ # Set properties for JavaScript ES module files:
36+ [* .{mjs,mjs.txt} ]
37+ indent_style = tab
38+
39+ # Set properties for JavaScript CommonJS files:
40+ [* .{cjs,cjs.txt} ]
41+ indent_style = tab
42+
43+ # Set properties for JSON files:
44+ [* .{json,json.txt} ]
45+ indent_style = space
46+ indent_size = 2
47+
3548# Set properties for TypeScript files:
3649[* .ts ]
3750indent_style = tab
3851
3952# Set properties for Python files:
40- [* .py ]
53+ [* .{py,py.txt} ]
4154indent_style = space
4255indent_size = 4
4356
4457# Set properties for Julia files:
45- [* .jl ]
58+ [* .{jl,jl.txt} ]
4659indent_style = tab
4760
4861# Set properties for R files:
49- [* .R ]
62+ [* .{R,R.txt} ]
5063indent_style = tab
5164
5265# Set properties for C files:
53- [* .c ]
66+ [* .{c,c.txt} ]
5467indent_style = tab
5568
5669# Set properties for C header files:
57- [* .h ]
70+ [* .{h,h.txt} ]
5871indent_style = tab
5972
6073# Set properties for C++ files:
61- [* .cpp ]
74+ [* .{ cpp,cpp.txt} ]
6275indent_style = tab
6376
6477# Set properties for C++ header files:
65- [* .hpp ]
78+ [* .{ hpp,hpp.txt} ]
6679indent_style = tab
6780
6881# Set properties for Fortran files:
69- [* .f ]
82+ [* .{f,f.txt} ]
7083indent_style = space
7184indent_size = 2
7285insert_final_newline = false
7386
7487# Set properties for shell files:
75- [* .sh ]
88+ [* .{sh,sh.txt} ]
7689indent_style = tab
7790
7891# Set properties for AWK files:
79- [* .awk ]
92+ [* .{ awk,awk.txt} ]
8093indent_style = tab
8194
8295# Set properties for HTML files:
83- [* .html ]
96+ [* .{html,html.txt} ]
97+ indent_style = tab
98+ tab_width = 2
99+
100+ # Set properties for XML files:
101+ [* .{xml,xml.txt} ]
84102indent_style = tab
85103tab_width = 2
86104
87105# Set properties for CSS files:
88- [* .css ]
106+ [* .{ css,css.txt} ]
89107indent_style = tab
90108
91109# Set properties for Makefiles:
92110[Makefile ]
93111indent_style = tab
94112
95- [* .mk ]
113+ [* .{mk,mk.txt} ]
96114indent_style = tab
97115
98116# Set properties for Markdown files:
99- [* .md ]
117+ [* .{md,md.txt} ]
100118indent_style = space
101119indent_size = 4
102120trim_trailing_whitespace = false
@@ -112,7 +130,7 @@ indent_style = space
112130indent_size = 4
113131
114132# Set properties for `package.json` files:
115- [package.json ]
133+ [package.{ json,json.txt} ]
116134indent_style = space
117135indent_size = 2
118136
@@ -121,6 +139,11 @@ indent_size = 2
121139indent_style = space
122140indent_size = 2
123141
142+ # Set properties for `manifest.json` files:
143+ [manifest.json ]
144+ indent_style = space
145+ indent_size = 2
146+
124147# Set properties for `tslint.json` files:
125148[tslint.json ]
126149indent_style = space
@@ -132,15 +155,15 @@ indent_style = space
132155indent_size = 2
133156
134157# Set properties for LaTeX files:
135- [* .tex ]
158+ [* .{ tex,tex.txt} ]
136159indent_style = tab
137160
138161# Set properties for LaTeX Bibliography files:
139- [* .bib ]
162+ [* .{ bib,bib.txt} ]
140163indent_style = tab
141164
142165# Set properties for YAML files:
143- [* .yml ]
166+ [* .{ yml,yml.txt} ]
144167indent_style = space
145168indent_size = 2
146169
0 commit comments