Skip to content

Commit

Permalink
Added editorconfig to enforce some code styling rules
Browse files Browse the repository at this point in the history
- Added global rules for utf-8, final new lines and so on
- Added .gitattributes to enforce unix line endings
- Ignored packaged Helm charts in git
  • Loading branch information
mihailradkov committed Sep 17, 2024
1 parent 1561e4b commit 98b27a9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text eol=lf

*.tgz binary
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# Helm
values_overrides.yaml
template_output.yaml
*.tgz

# Sensitive files
*.license
Expand Down

0 comments on commit 98b27a9

Please sign in to comment.