summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/.editorconfig')
-rw-r--r--src/tools/clippy/.editorconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/tools/clippy/.editorconfig b/src/tools/clippy/.editorconfig
new file mode 100644
index 000000000..ec6e107d5
--- /dev/null
+++ b/src/tools/clippy/.editorconfig
@@ -0,0 +1,21 @@
+# EditorConfig helps developers define and maintain consistent
+# coding styles between different editors and IDEs
+# editorconfig.org
+
+root = true
+
+[*]
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+indent_style = space
+indent_size = 4
+
+[*.md]
+# double whitespace at end of line
+# denotes a line break in Markdown
+trim_trailing_whitespace = false
+
+[*.yml]
+indent_size = 2