chore: add editorconfig (#85)

* chore: add editorconfig

* chore(editorconfig): ONLY apply config to *.go
This commit is contained in:
Kevin Yu 2023-05-14 13:07:55 +08:00 committed by GitHub
parent bf1d296401
commit 53b2675949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
.editorconfig Normal file
View File

@ -0,0 +1,10 @@
#editorconfig.org
root = true
[*.go]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true