SonarJS
SonarJS copied to clipboard
Eslint-bridge should not use too long paths
SonarLint is bundling eslint-bridge in Visual Studio. On Windows by default, there is a limit on the length of the path in the filesystem - 260 characters. Some of the dependencies of eslint-bridge are deeply nested, so extraction can fail.
This could be improved by using a bundler, such as ncc https://github.com/vercel/ncc
See also work by Andrea in https://github.com/SonarSource/SonarJS/issues/2520