editorconfig.md

概述

编辑器配置,放入到 项目根目录中

参考

editor config 官网

实例

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; https://editorconfig.org/

root = true

[*]
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
indent_style = space
indent_size = 2

[{Makefile,go.mod,go.sum,*.go,.gitmodules}]
indent_style = tab
indent_size = 4

[*.md]
indent_size = 4
trim_trailing_whitespace = false

eclint_indent_style = unset

[Dockerfile]
indent_size = 4


editorconfig.md
https://abrance.github.io/2024/05/07/mdstorage/domain/文档/editorconfig/
Author
xiaoy
Posted on
May 7, 2024
Licensed under