Skip to content

Commit

Permalink
Create .editorconfig (GoogleCloudPlatform#1421)
Browse files Browse the repository at this point in the history
* Create .editorconfig

* Add Python to .editorconfig

* Use 4-space indents for Java
  • Loading branch information
NimJay authored Dec 21, 2022
1 parent 88334d5 commit 89eb4bc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# The .editorconfig is used to maintain consistent code style.
# The .editorconfig file is supported by most text editors.
# See https://editorconfig.org

root = true

[*]
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[*.cs]
indent_size = 4

[Dockerfile*]
indent_size = 4

[*.go]
indent_style = tab

[*.java]
indent_size = 4

[*.py]
indent_size = 4

0 comments on commit 89eb4bc

Please sign in to comment.