diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..48252e96 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.vscode/settings.json b/.vscode/settings.json index 1954be87..486b9613 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,23 +1,21 @@ -{ - "go.coverOnSave": true, - "go.coverOnTestPackage": true, - "go.coverOnSingleTest": true, - "go.coverageDecorator": { - "type": "highlight", - "coveredHighlightColor": "rgba(30, 64, 10, 0.06)", - "coveredBorderColor": "rgba(30, 64, 10, 0.06)", - "uncoveredHighlightColor": "rgba(146, 38, 20, 0.06)", - "uncoveredBorderColor": "rgba(146, 38, 20, 0.06)", - "coveredGutterStyle": "blockgreen", - "uncoveredGutterStyle": "blockred" - }, - "[yaml]": { - "editor.insertSpaces": true, - "editor.tabSize": 2, - "editor.autoIndent": "keep", - "editor.defaultFormatter": "esbenp.prettier-vscode", - }, - "[vue]": { - "editor.defaultFormatter": "johnsoncodehk.volar", - }, -} \ No newline at end of file +{ + "go.coverOnSave": true, + "go.coverOnTestPackage": true, + "go.coverOnSingleTest": true, + "go.coverageDecorator": { + "type": "highlight", + "coveredHighlightColor": "rgba(30, 64, 10, 0.06)", + "coveredBorderColor": "rgba(30, 64, 10, 0.06)", + "uncoveredHighlightColor": "rgba(146, 38, 20, 0.06)", + "uncoveredBorderColor": "rgba(146, 38, 20, 0.06)", + "coveredGutterStyle": "blockgreen", + "uncoveredGutterStyle": "blockred" + }, + "[yaml]": { + "editor.autoIndent": "keep", + "editor.defaultFormatter": "esbenp.prettier-vscode", + }, + "[vue]": { + "editor.defaultFormatter": "johnsoncodehk.volar", + }, +}