Skip to content

Commit 742bd5c

Browse files
committed
Style: Ensure svgs have trailing newlines
1 parent e948f52 commit 742bd5c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.editorconfig

-3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,3 @@ indent_style = space
1515
[{*.{yml,yaml},.clang{-format,-tidy,d}}]
1616
indent_size = 2
1717
indent_style = space
18-
19-
[*.svg]
20-
insert_final_newline = false

misc/utility/svgo.config.mjs

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
export default {
22
multipass: true,
33
precision: 2,
4+
js2svg: {
5+
eol: "lf",
6+
finalNewline: true,
7+
},
48
plugins: [
59
{
610
name: "preset-default",

0 commit comments

Comments
 (0)