From 9e5fe03fb5aa0e9c64b612c9b93ef5ab024b933b Mon Sep 17 00:00:00 2001 From: Mikaela Szekely Date: Sun, 31 Jul 2022 18:33:52 -0600 Subject: [PATCH] Add editorconfig and .vscode/settings.json --- .editorconfig | 12 ++++++++++++ .vscode/settings.json | 6 ++++++ 2 files changed, 18 insertions(+) create mode 100644 .editorconfig create mode 100644 .vscode/settings.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c6b3f7f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +max_line_length = 120 + +[*.rs] +indent_style = space +indent_size = 4 diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..7dd08fc --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "editor.insertSpaces": true, + "files.eol": "\n", + "files.insertFinalNewline": true, + "rust-analyzer.imports.granularity.group": "preserve" +}