style: 项目代码按照 .editorconfig 格式化
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,4 +4,4 @@ node_modules
|
||||
.vscode-test/
|
||||
*.vsix
|
||||
|
||||
*.ignore
|
||||
*.ignore
|
||||
|
||||
@@ -25,4 +25,4 @@ export default [{
|
||||
"no-throw-literal": "warn",
|
||||
semi: "warn",
|
||||
},
|
||||
}];
|
||||
}];
|
||||
|
||||
48
test-code.md
48
test-code.md
@@ -1,24 +1,24 @@
|
||||
```javascript
|
||||
// 小驼峰
|
||||
const helloWorld = ''
|
||||
// 大驼峰
|
||||
const HelloWorld = ''
|
||||
// 下划线 + 首字母大写
|
||||
const Hello_World = ''
|
||||
// 下划线 + 全小写
|
||||
const hello_world = ''
|
||||
// 下划线 + 全大写
|
||||
const HELLO_WORLD = ''
|
||||
// 小写
|
||||
const helloworld = ''
|
||||
// 大写
|
||||
const HELLOWORLD = ''
|
||||
// 加空格
|
||||
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
|
||||
```
|
||||
```javascript
|
||||
// 小驼峰
|
||||
const helloWorld = ''
|
||||
// 大驼峰
|
||||
const HelloWorld = ''
|
||||
// 下划线 + 首字母大写
|
||||
const Hello_World = ''
|
||||
// 下划线 + 全小写
|
||||
const hello_world = ''
|
||||
// 下划线 + 全大写
|
||||
const HELLO_WORLD = ''
|
||||
// 小写
|
||||
const helloworld = ''
|
||||
// 大写
|
||||
const HELLOWORLD = ''
|
||||
// 加空格
|
||||
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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user