SonarJS icon indicating copy to clipboard operation
SonarJS copied to clipboard

eslint-bridge should return specific code when linter is not initialized

Open saberduck opened this issue 3 years ago • 0 comments

SonarLint in Visual Studio sometimes needs to recover from exceptional conditions - out of memory, etc.. They need to able to detect when calling /init-linter is necessary. Currently, if /init-linter is not called before analysis, we throw generic exception. We should change this to return specific error code which can be interpreted on SonarLint side.

saberduck avatar May 18 '21 12:05 saberduck