mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
.editorconfig: add editor settings for most editors
This should automatically set the tab size to 8 spaces and add a visual guide (ruler) at 80 characters in GoLand, GitHub and a few other editors.
This commit is contained in:
16
.editorconfig
Normal file
16
.editorconfig
Normal file
@@ -0,0 +1,16 @@
|
||||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
# Top-most EditorConfig file.
|
||||
root = true
|
||||
|
||||
# Unix-style newlines with a newline ending every file.
|
||||
[*.md]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
max_line_length = 80
|
||||
|
||||
# 8 space indentation for Golang code.
|
||||
[*.go]
|
||||
indent_style = tab
|
||||
indent_size = 8
|
||||
max_line_length = 80
|
||||
Reference in New Issue
Block a user