Last active
April 19, 2023 07:51
-
-
Save aslamdoctor/fa57b915b287b9da4fe724a21f87262c to your computer and use it in GitHub Desktop.
PHPCBF VSCode Settings for WordPress
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
# For Normal Theme | |
{ | |
"phpsab.standard": "WordPress", | |
"phpsab.executablePathCBF": "/Users/aslamdoctor/.composer/vendor/bin/phpcbf", | |
"editor.formatOnSave": true, | |
"scss.validate": false, | |
"[javascriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"intelephense.format.enable": false, | |
} | |
# For Understrap Theme | |
{ | |
"phpsab.standard": "WordPress", | |
"phpsab.composerJsonPath": "wp-content/themes/understrap/composer.json", | |
"editor.formatOnSave": true, | |
"scss.validate": false, | |
"[javascriptreact]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, | |
"intelephense.format.enable": false, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
place this file under project's root folder inside .vscode directory