style: 项目代码按照 .editorconfig 格式化
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -4,4 +4,4 @@ node_modules
|
|||||||
.vscode-test/
|
.vscode-test/
|
||||||
*.vsix
|
*.vsix
|
||||||
|
|
||||||
*.ignore
|
*.ignore
|
||||||
|
|||||||
@@ -25,4 +25,4 @@ export default [{
|
|||||||
"no-throw-literal": "warn",
|
"no-throw-literal": "warn",
|
||||||
semi: "warn",
|
semi: "warn",
|
||||||
},
|
},
|
||||||
}];
|
}];
|
||||||
|
|||||||
48
test-code.md
48
test-code.md
@@ -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
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user