mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-08 23:37:50 -04:00
Create .editorconfig
I think it'd be a good idea to add an `.editorconfig` to the projects root for contributors to easily see the code-formatting style as is common with most Open Source projects.
This commit is contained in:
parent
fe33c2307f
commit
5875812ebf
20
.editorconfig
Normal file
20
.editorconfig
Normal file
@ -0,0 +1,20 @@
|
||||
# https://editorconfig.org
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.go]
|
||||
indent_size = 8
|
||||
indent_style = tab
|
||||
|
||||
[*.js]
|
||||
insert_final_newline = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
Loading…
x
Reference in New Issue
Block a user