Commit graph

3 commits

Author SHA1 Message Date
Emily
f56f07bd54 editorconfig: only skip trimming whitespace for .rs files 2024-11-12 01:16:08 +01:00
Martin von Zweigbergk
0c1734a19d editorconfig: disable trim_trailing_whitespace due to multi-line bugs
The `trim_trailing_whitespace` config is not working well with
multi-line string literals. I've tried to work around
intellij-rust/intellij-rust#5368 twice and now I want to use the
`insta` crate so I'd need to find another workaround. Let's just
disable the config instead. I wouldn't be surprised if other editors
have similar bugs as IntelliJ.
2022-03-07 20:23:55 -08:00
Waleed Khan
325eb4f4ca Add .editorconfig
This file sets formatting defaults for editors. See https://editorconfig.org/.
2022-02-20 22:16:07 -08:00