Skip to content

Commit

Permalink
Add a EditorConfig file (#2331)
Browse files Browse the repository at this point in the history
Add a [EditorConfig](https://editorconfig.org/) file 

- Unify JSON, YAML indentation
- Add new line at the end of every file
  • Loading branch information
Vertexwahn authored Jun 29, 2024
1 parent 01be6cf commit d86dcf5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

[*]
end_of_line = lf
insert_final_newline = true

# 4 space indentation for JSON files
[*.json]
indent_style = space
indent_size = 4

# 4 space indentation for YAML files
[*.yaml]
indent_style = space
indent_size = 2

0 comments on commit d86dcf5

Please sign in to comment.