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

style: 项目代码按照 .editorconfig 格式化

This commit is contained in:
2025-12-05 11:54:16 +08:00
parent 885f208c80
commit 4ff696e4bd
3 changed files with 26 additions and 26 deletions

2
.gitignore vendored
View File

@@ -4,4 +4,4 @@ node_modules
.vscode-test/ .vscode-test/
*.vsix *.vsix
*.ignore *.ignore

View File

@@ -25,4 +25,4 @@ export default [{
"no-throw-literal": "warn", "no-throw-literal": "warn",
semi: "warn", semi: "warn",
}, },
}]; }];

View File

@@ -1,24 +1,24 @@
```javascript ```javascript
// 小驼峰 // 小驼峰
const helloWorld = '' const helloWorld = ''
// 大驼峰 // 大驼峰
const HelloWorld = '' const HelloWorld = ''
// 下划线 + 首字母大写 // 下划线 + 首字母大写
const Hello_World = '' const Hello_World = ''
// 下划线 + 全小写 // 下划线 + 全小写
const hello_world = '' const hello_world = ''
// 下划线 + 全大写 // 下划线 + 全大写
const HELLO_WORLD = '' const HELLO_WORLD = ''
// 小写 // 小写
const helloworld = '' const helloworld = ''
// 大写 // 大写
const HELLOWORLD = '' const HELLOWORLD = ''
// 加空格 // 加空格
const a = 'hello world' const a = 'hello world'
``` ```
``` ```
D:\Project\variable-conversion-vscode-extension\README.md D:\Project\variable-conversion-vscode-extension\README.md
D:\\Project\\variable-conversion-vscode-extension\\README.md D:\\Project\\variable-conversion-vscode-extension\\README.md
D:/Project/variable-conversion-vscode-extension/README.md D:/Project/variable-conversion-vscode-extension/README.md
``` ```