Skip to content

Commit

Permalink
Add editorconfig and .vscode/settings.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Qyriad committed Aug 1, 2022
1 parent 158fdfb commit 9e5fe03
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.insertSpaces": true,
"files.eol": "\n",
"files.insertFinalNewline": true,
"rust-analyzer.imports.granularity.group": "preserve"
}

0 comments on commit 9e5fe03

Please sign in to comment.