SonarJS icon indicating copy to clipboard operation
SonarJS copied to clipboard

SonarSource Static Analyzer for JavaScript and TypeScript

Results 234 SonarJS issues
Sort by recently updated
recently updated
newest added

When we try to stop the eslint-bridge Node.js process at the end of analysis the server is no longer running and consequently stop fails. This has been happening for >...

type: enhancement
topic: plugin

porting work of https://github.com/SonarSource/SonarJS/pull/3295 due to it being hard to recover after squash and merge of big refactor PR (https://github.com/SonarSource/SonarJS/commit/e4bf3eb89f65b2eb66d60916b8eb0e0d192adc83)

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...

topic: sonarlint

In SonarLint context it can happen that parent java process (which starts eslint-bridge Node.js process) dies unexpectetly. Currently eslint-bridge process keeps running as a zombie process. We should implement heartbeat...

type: enhancement
topic: sonarlint

In some contexts (ie SonarLint) we don't have `tsconfig` file of project. However, we could still analyze the file. This is already done for JS files and we rely on...

type: enhancement
topic: sonarlint
mmf-2447

Currently it's all 'MAIN', SL for VS will need this data to be correct

topic: sonarlint

We don't detect issue of S3800 in `f1` in SonarLint, but we do detect both issues in SonarQube context. ```typescript const f1 = () => { // FN S3800 const...

type: false negative
topic: sonarlint

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`...

type: enhancement
topic: sonarlint

| Label | Description | | --- | --- | |Rule | S3776 "Cognitive Complexity of functions should not be too high" | | FP Example | * [Booleans inside...

mmf-2835