Skip to content

Commit

Permalink
Add .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Carifio committed Feb 6, 2025
1 parent 19b5d44 commit 2e5bbdd
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# .editorconfig https://editorconfig.org/#example-file
# synthesized from https://github.com/rust-lang/rust/blob/master/.editorconfig and my chatgpt overlord

root = true

[*]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
end_of_line = lf

[*.rs]
max_line_length = 100

[*.md]
# double whitespace at end of line
# denotes a line break in Markdown
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2

[Makefile]
indent_style = tab

0 comments on commit 2e5bbdd

Please sign in to comment.