mirror of
https://github.com/gwebu-team/profile.d.git
synced 2025-12-11 13:15:45 +00:00
This commit is contained in:
parent
b31cb20161
commit
dbc138e82e
7 changed files with 49 additions and 0 deletions
27
.editorconfig
Normal file
27
.editorconfig
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
# The POSIX standard requires the last line to end with a new line character.
|
||||
# All UNIX tools expect a new line at the end of files. Most text editors use this convention too.
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
max_line_length = 120
|
||||
|
||||
# Matches multiple files with brace expansion notation
|
||||
# Set default charset and 4 space indentation
|
||||
[*.{py,txt,md,rst,c,cxx,cpp,h,hpp,hxx,sh,cfg,ini}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.{js,json,html,htm,xml,yaml,yml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# Tab indentation (no size specified)
|
||||
[{Makefile,*.go}]
|
||||
indent_style = tab
|
||||
Loading…
Add table
Add a link
Reference in a new issue