about summary refs log tree commit diff
path: root/src/tools/clippy
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2021-02-02 16:01:33 -0500
committerGitHub <noreply@github.com>2021-02-02 16:01:33 -0500
commitd91ce83f8500a83323bc23243e804de223bf1e80 (patch)
tree51a20ce21359bd25eaaab3c969a2d8d7b8876a86 /src/tools/clippy
parentc1623a2ee7bbefc9a3b9af4a133716d6bfd80f29 (diff)
parentae3164e226320ea8082b8257f0c67b43c1db56d2 (diff)
downloadrust-d91ce83f8500a83323bc23243e804de223bf1e80.tar.gz
rust-d91ce83f8500a83323bc23243e804de223bf1e80.zip
Rollup merge of #81260 - vn971:restore-editorconfig, r=Mark-Simulacrum
Add .editorconfig

This adds a .editorconfig file to rust-lang/rust, matching Clippy's. It's not clear that this will benefit many people, but the cost is low and the rewards are potentially meaningful.
Diffstat (limited to 'src/tools/clippy')
-rw-r--r--src/tools/clippy/.editorconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/clippy/.editorconfig b/src/tools/clippy/.editorconfig
index a13173544d8..ec6e107d547 100644
--- a/src/tools/clippy/.editorconfig
+++ b/src/tools/clippy/.editorconfig
@@ -13,6 +13,8 @@ indent_style = space
 indent_size = 4
 
 [*.md]
+# double whitespace at end of line
+# denotes a line break in Markdown
 trim_trailing_whitespace = false
 
 [*.yml]