Merge pull request #96 from kkovacs/feature/editorconfig

Added .editorconfig
This commit is contained in:
Kyle Quest 2021-01-29 10:48:27 -08:00 committed by GitHub
commit f1989ba1ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

22
.editorconfig Normal file
View File

@ -0,0 +1,22 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[{*.go,Makefile,.gitmodules,go.mod,go.sum}]
indent_style = tab
[*.md]
indent_style = tab
trim_trailing_whitespace = false
[*.{yml,yaml,json}]
indent_style = space
indent_size = 2
[*.{js,jsx,ts,tsx,css,less,sass,scss,vue,py}]
indent_style = space
indent_size = 4