Hey,
I have PHP Code Sniffer plugin installed and I’m trying to setup the executable paths. However, the PHP files are in my WSL Ubuntu instance. So, I thought I could reach them via network address. This is what I have:
{
"phpcs_php_path": "\\wsl$\Ubuntu-18.04\usr\local\bin\phpcbf",
"phpcs_executable_path": "\\wsl$\Ubuntu-18.04\usr\local\bin\phpcs",
"phpmd_executable_path": "\\wsl$\Ubuntu-18.04\usr\local\bin\phpmd",
"php_cs_fixer_executable_path": "\\wsl$\Ubuntu-18.04\usr\local\bin\php-cs-fixer",
"phpcs_show_errors_on_save": false,
"phpcs_outline_for_errors": false,
"php_cs_fixer_on_save": false
}
As you can imagine, it doesn’t even let me save the file.
Any idea how I can that this working?