Include .editorconfig
file
This is an attempt to get more cross-editor compatibility.
This commit is contained in:
parent
8d69bfe069
commit
d6c257d396
19
.editorconfig
Normal file
19
.editorconfig
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# EditorConfig is awesome: https://EditorConfig.org
|
||||||
|
root=true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.go]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
[*.py]
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
44
.vscode/settings.json
vendored
44
.vscode/settings.json
vendored
@ -1,23 +1,21 @@
|
|||||||
{
|
{
|
||||||
"go.coverOnSave": true,
|
"go.coverOnSave": true,
|
||||||
"go.coverOnTestPackage": true,
|
"go.coverOnTestPackage": true,
|
||||||
"go.coverOnSingleTest": true,
|
"go.coverOnSingleTest": true,
|
||||||
"go.coverageDecorator": {
|
"go.coverageDecorator": {
|
||||||
"type": "highlight",
|
"type": "highlight",
|
||||||
"coveredHighlightColor": "rgba(30, 64, 10, 0.06)",
|
"coveredHighlightColor": "rgba(30, 64, 10, 0.06)",
|
||||||
"coveredBorderColor": "rgba(30, 64, 10, 0.06)",
|
"coveredBorderColor": "rgba(30, 64, 10, 0.06)",
|
||||||
"uncoveredHighlightColor": "rgba(146, 38, 20, 0.06)",
|
"uncoveredHighlightColor": "rgba(146, 38, 20, 0.06)",
|
||||||
"uncoveredBorderColor": "rgba(146, 38, 20, 0.06)",
|
"uncoveredBorderColor": "rgba(146, 38, 20, 0.06)",
|
||||||
"coveredGutterStyle": "blockgreen",
|
"coveredGutterStyle": "blockgreen",
|
||||||
"uncoveredGutterStyle": "blockred"
|
"uncoveredGutterStyle": "blockred"
|
||||||
},
|
},
|
||||||
"[yaml]": {
|
"[yaml]": {
|
||||||
"editor.insertSpaces": true,
|
"editor.autoIndent": "keep",
|
||||||
"editor.tabSize": 2,
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"editor.autoIndent": "keep",
|
},
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
"[vue]": {
|
||||||
},
|
"editor.defaultFormatter": "johnsoncodehk.volar",
|
||||||
"[vue]": {
|
},
|
||||||
"editor.defaultFormatter": "johnsoncodehk.volar",
|
}
|
||||||
},
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user