Skip to content

Commit

Permalink
chore: add .editorconfig (#7369)
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg authored Mar 28, 2024
1 parent 83cd848 commit 33c466d
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 helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

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

[*.rs]
max_line_length = 100

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

[Makefile]
indent_style = tab

[]

0 comments on commit 33c466d

Please sign in to comment.