Skip to content

Commit

Permalink
chore: add editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Jul 16, 2024
1 parent 00af0c4 commit fb8f5dc
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@


# EditorConfig is awesome: https://editorconfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{rs,toml}]
charset = utf-8

# 4 space indentation
[*.rs]
indent_style = space
indent_size = 4

# Tab indentation (no size specified)
[Makefile]
indent_style = tab

1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
target/
.vscode/
target/
.vscode/
.idea/

0 comments on commit fb8f5dc

Please sign in to comment.