If I set PATH environment variable in Shellcheck linter settings, it doesn’t read it correctly.
For example, this configuration should find my custom shellcheck executable inside ~/.becky/bin directory, but that doesn’t work. Same configuration for ESLint and Stylelint does work.
{
"linters": {
"shellcheck": {
"selector": "source.shell",
"env": {
"PATH": "~/.becky/bin:$PATH"
}
}
}
}
If I set path using global paths property, this does work but I would still like option of setting custom PATH only for Shellcheck and would expect it to work just like for other linters.
If I set
PATHenvironment variable in Shellcheck linter settings, it doesn’t read it correctly.For example, this configuration should find my custom
shellcheckexecutable inside~/.becky/bindirectory, but that doesn’t work. Same configuration for ESLint and Stylelint does work.{ "linters": { "shellcheck": { "selector": "source.shell", "env": { "PATH": "~/.becky/bin:$PATH" } } } }If I set path using global
pathsproperty, this does work but I would still like option of setting customPATHonly for Shellcheck and would expect it to work just like for other linters.