@@ -29,74 +29,92 @@ trim_trailing_whitespace = true
29
29
insert_final_newline = true
30
30
31
31
# Set properties for JavaScript files:
32
- [* .js ]
32
+ [* .{js,js.txt} ]
33
33
indent_style = tab
34
34
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
+
35
48
# Set properties for TypeScript files:
36
49
[* .ts ]
37
50
indent_style = tab
38
51
39
52
# Set properties for Python files:
40
- [* .py ]
53
+ [* .{py,py.txt} ]
41
54
indent_style = space
42
55
indent_size = 4
43
56
44
57
# Set properties for Julia files:
45
- [* .jl ]
58
+ [* .{jl,jl.txt} ]
46
59
indent_style = tab
47
60
48
61
# Set properties for R files:
49
- [* .R ]
62
+ [* .{R,R.txt} ]
50
63
indent_style = tab
51
64
52
65
# Set properties for C files:
53
- [* .c ]
66
+ [* .{c,c.txt} ]
54
67
indent_style = tab
55
68
56
69
# Set properties for C header files:
57
- [* .h ]
70
+ [* .{h,h.txt} ]
58
71
indent_style = tab
59
72
60
73
# Set properties for C++ files:
61
- [* .cpp ]
74
+ [* .{ cpp,cpp.txt} ]
62
75
indent_style = tab
63
76
64
77
# Set properties for C++ header files:
65
- [* .hpp ]
78
+ [* .{ hpp,hpp.txt} ]
66
79
indent_style = tab
67
80
68
81
# Set properties for Fortran files:
69
- [* .f ]
82
+ [* .{f,f.txt} ]
70
83
indent_style = space
71
84
indent_size = 2
72
85
insert_final_newline = false
73
86
74
87
# Set properties for shell files:
75
- [* .sh ]
88
+ [* .{sh,sh.txt} ]
76
89
indent_style = tab
77
90
78
91
# Set properties for AWK files:
79
- [* .awk ]
92
+ [* .{ awk,awk.txt} ]
80
93
indent_style = tab
81
94
82
95
# 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} ]
84
102
indent_style = tab
85
103
tab_width = 2
86
104
87
105
# Set properties for CSS files:
88
- [* .css ]
106
+ [* .{ css,css.txt} ]
89
107
indent_style = tab
90
108
91
109
# Set properties for Makefiles:
92
110
[Makefile ]
93
111
indent_style = tab
94
112
95
- [* .mk ]
113
+ [* .{mk,mk.txt} ]
96
114
indent_style = tab
97
115
98
116
# Set properties for Markdown files:
99
- [* .md ]
117
+ [* .{md,md.txt} ]
100
118
indent_style = space
101
119
indent_size = 4
102
120
trim_trailing_whitespace = false
@@ -112,7 +130,7 @@ indent_style = space
112
130
indent_size = 4
113
131
114
132
# Set properties for `package.json` files:
115
- [package.json ]
133
+ [package.{ json,json.txt} ]
116
134
indent_style = space
117
135
indent_size = 2
118
136
@@ -121,6 +139,11 @@ indent_size = 2
121
139
indent_style = space
122
140
indent_size = 2
123
141
142
+ # Set properties for `manifest.json` files:
143
+ [manifest.json ]
144
+ indent_style = space
145
+ indent_size = 2
146
+
124
147
# Set properties for `tslint.json` files:
125
148
[tslint.json ]
126
149
indent_style = space
@@ -132,15 +155,15 @@ indent_style = space
132
155
indent_size = 2
133
156
134
157
# Set properties for LaTeX files:
135
- [* .tex ]
158
+ [* .{ tex,tex.txt} ]
136
159
indent_style = tab
137
160
138
161
# Set properties for LaTeX Bibliography files:
139
- [* .bib ]
162
+ [* .{ bib,bib.txt} ]
140
163
indent_style = tab
141
164
142
165
# Set properties for YAML files:
143
- [* .yml ]
166
+ [* .{ yml,yml.txt} ]
144
167
indent_style = space
145
168
indent_size = 2
146
169
0 commit comments