Skip to content

Commit

Permalink
style(editorconfig): add EditorConfig file for consistent style
Browse files Browse the repository at this point in the history
Add an EditorConfig file to ensure all editors know how to edit files
correctly. Apply conservative settings based on the existing files. Rust
options are based on the defaults of `rustfmt`.
  • Loading branch information
ThomasFrans committed May 14, 2024
1 parent 9b54ace commit 4222708
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

[*]
indent_style = space
indent_size = 4
charset = utf-8
insert_final_newline = false

[*.rs]
max_line_length = 100

[*.md]
max_line_length = 100

0 comments on commit 4222708

Please sign in to comment.