The integration with linting/formatting tools is designed to work with the execution sandbox. (Also, the workspace environment is a more recent feature and was primarily added as an "escape hatch" for integrating with external build tools not as the normal mode of operation.)