1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

添加 .editorconfig;空格缩进规范化

This commit is contained in:
2025-07-12 01:44:06 +08:00
parent 5290684660
commit 5d5bccbf6f
6 changed files with 34 additions and 7 deletions

26
.editorconfig Normal file
View File

@@ -0,0 +1,26 @@
# EditorConfig is awesome: https://editorconfig.org
# top-most EditorConfig file
root = true
[*]
end_of_line = lf
# Unix-style newlines with a newline ending every file
insert_final_newline = true
# Set default charset
charset = utf-8
[*.{js,ts}]
# 4 space indentation
indent_style = space
indent_size = 4
# Tab indentation (no size specified)
[.vscode/**.json]
indent_style = tab
# 历史原因需要保留 tab 缩进的代码文件
[src/{test/extension.test.ts,extension.ts}]
indent_style = tab

View File

@@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Internal
- Add `.editorconfig` file. (添加 `.editorconfig` 文件)
- Upgrade plugin dependency versions. (升级插件依赖版本)
- Modify eslint configuration. (调整 eslint 配置)