We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ba00e0 commit 7af87d1Copy full SHA for 7af87d1
.editorconfig
@@ -7,9 +7,18 @@ root = true
7
[*]
8
end_of_line = lf
9
charset = utf-8
10
-trim_trailing_whitespace = true
11
insert_final_newline = true
12
+# some tests need trailing whitespace in output snapshots
13
+[!tests/]
14
+trim_trailing_whitespace = true
15
+# for actual source code files of test, we still don't want trailing whitespace
16
+[tests/**.{rs,js}]
17
18
+# these specific source files need to have trailing whitespace.
19
+[tests/ui/{frontmatter/frontmatter-whitespace-3.rs,parser/shebang/shebang-space.rs}]
20
+trim_trailing_whitespace = false
21
+
22
[!src/llvm-project]
23
indent_style = space
24
indent_size = 4
0 commit comments