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" +}