Added editorconfig to project

This commit is contained in:
Andrew Bryant 2024-09-30 12:51:50 -04:00
parent 713613e2c6
commit cc34db9ed1

33
.editorconfig Normal file
View File

@ -0,0 +1,33 @@
# 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
[*.{js,py}]
charset = utf-8
# Python indentation
[*.py]
indent_style = space
indent_size = 4
# Nix indentation
[*.nix]
indent_style = space
indent_size = 2
# Markdown
[*.md]
indent_style = space
indent_size = 4
# Tab indentation (no size specified)
[Makefile]
indent_style = tab