From a843ed465bb46d506e898ce6c13f702e8c6cb446 Mon Sep 17 00:00:00 2001 From: Nathan Schmidt <91974372+nathan-schmidt-viget@users.noreply.github.com> Date: Fri, 8 Dec 2023 08:59:16 -0700 Subject: [PATCH] VS Code settings and extensions recommendations --- .vscode/extensions.json | 7 +++++++ .vscode/settings.json | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/settings.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 000000000..3d48d064a --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "persoderlind.vscode-phpcbf", + "shevaua.phpcs", + "EditorConfig.EditorConfig" + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..6eb482129 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,10 @@ +{ + "editor.indentSize": "tabSize", + "editor.tabSize": 4, + "editor.formatOnSave": true, + "phpcs.standard": "WordPress", + "phpcbf.standard": "WordPress", + "phpcs.errorSeverity": 4, + "phpcs.warningSeverity": 4, + "intelephense.environment.phpVersion": "8.1" +}