-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.editorconfig
37 lines (32 loc) · 874 Bytes
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ------------------------------------------------------------------------
# Author : Weilun Fong | [email protected]
# Date : 2022-01-24
# Description: configure file for EditorConfig
# E-mail : [email protected]
# Page : https://hw.zhishan-iot.tk/page/hml/detail/fwlib_8051.html
# Project : HML_FwLib_STC11
# ------------------------------------------------------------------------
# global settings
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
# for C and header files
[*.{h,c}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
# for makefile
[{Makefile, Makefile.*}]
indent_style = tab
indent_size = 4
tab_width = 4
trim_trailing_whitespace = false
# for json files
[*.json]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
# for markdown
[*.md]
trim_trailing_whitespace = false