Skip to content

Commit

Permalink
chore: Add .editorconfig file to enforce some code style rules (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pixelshaped authored Jul 22, 2024
1 parent 5671055 commit 3ffd0d6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
# Change these settings to your own preference
indent_style = space
indent_size = 4

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false

[*.sh]
indent_style = tab

[.gitmodules]
indent_style = tab

[Dockerfile]
indent_style = tab

0 comments on commit 3ffd0d6

Please sign in to comment.