Skip to content

Commit

Permalink
.editor config
Browse files Browse the repository at this point in the history
  • Loading branch information
danoli3 committed Aug 28, 2024
1 parent ec2ecbd commit 47be372
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# EditorConfig https://editorconfig.org
root = true

# Default settings for all files
[*]
indent_style = tab
indent_size = 4
tab_width = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.{js,py}]
charset = utf-8

[*.sh]
indent_style = tab
indent_size = 4
tab_width = 4
insert_final_newline = true
trim_trailing_whitespace = true

# Override JSON
[*.json]
indent_style = space
indent_size = 2
tab_width = 2

# Override YAML
[*.yml]
indent_style = space
indent_size = 2
tab_width = 2

[*.html]
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 2

0 comments on commit 47be372

Please sign in to comment.