Last active
September 6, 2020 21:18
-
-
Save hsimah/40871b02375c351473daac1c9c42875b to your computer and use it in GitHub Desktop.
VS Code devcontainer.json for WordPress, WSL2 & Docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"name": "My Plugin", | |
"dockerComposeFile": [ | |
"docker-compose.yml" | |
], | |
"service": "wordpress", | |
"settings": { | |
"terminal.integrated.shell.linux": "/bin/bash", | |
"eslint.alwaysShowStatus": true, | |
"eslint.format.enable": true, | |
"eslint.lintTask.enable": true, | |
"eslint.workingDirectories": [ | |
"/var/www/html/wp-content/plugins/my-plugin/app" | |
] | |
}, | |
"extensions": [ | |
"dbaeumer.vscode-eslint", | |
"bmewburn.vscode-intelephense-client", | |
"felixfbecker.php-debug" | |
], | |
"workspaceFolder": "/var/www/html", | |
"forwardPorts": [ | |
80, | |
3000, | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment