From b00abe8ebfc55f1029de151e21d2b66a08293a4e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 12 Jun 2024 22:45:04 +0200 Subject: [PATCH] chore: move configuration specific to ocpp-server to its folder MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .vscode/extensions.json | 1 - tests/ocpp-server/.editorconfig | 21 +++++++++++++++++++++ tests/ocpp-server/.vscode/extensions.json | 9 +++++++++ tests/ocpp-server/.vscode/settings.json | 3 +++ 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 tests/ocpp-server/.editorconfig create mode 100644 tests/ocpp-server/.vscode/extensions.json create mode 100644 tests/ocpp-server/.vscode/settings.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 00345c6c..e28460d3 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -6,7 +6,6 @@ "dbaeumer.vscode-eslint", "EditorConfig.EditorConfig", "ms-azuretools.vscode-docker", - "ms-python.python", "sonarsource.sonarlint-vscode", "streetsidesoftware.code-spell-checker" ] diff --git a/tests/ocpp-server/.editorconfig b/tests/ocpp-server/.editorconfig new file mode 100644 index 00000000..a306293d --- /dev/null +++ b/tests/ocpp-server/.editorconfig @@ -0,0 +1,21 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +end_of_line = lf +max_line_length = 100 + +[*.py] +indent_size = 4 + +[*.md] +max_line_length = off +trim_trailing_whitespace = false + +[{Makefile,**.mk}] +# Use tabs for indentation (Makefiles require tabs) +indent_style = tab diff --git a/tests/ocpp-server/.vscode/extensions.json b/tests/ocpp-server/.vscode/extensions.json new file mode 100644 index 00000000..4850a673 --- /dev/null +++ b/tests/ocpp-server/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "EditorConfig.EditorConfig", + "streetsidesoftware.code-spell-checker", + "ms-python.python" + ] +} diff --git a/tests/ocpp-server/.vscode/settings.json b/tests/ocpp-server/.vscode/settings.json new file mode 100644 index 00000000..e7aa6d94 --- /dev/null +++ b/tests/ocpp-server/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "cSpell.words": ["ocpp", "websockets"] +} -- 2.34.1