Skip to content

feat(mdviewer): add fine-grained data-source-line to nested elements

d5c334a
Select commit
Loading
Failed to load commit list.
Open

Md editor integration tests #2774

feat(mdviewer): add fine-grained data-source-line to nested elements
d5c334a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 1, 2026 in 44s

Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 672 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Specify a target origin for this message.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1EwYCjXC9OZViuhkui&open=AZ1EwYCjXC9OZViuhkui&pullRequest=2774

Check failure on line 263 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1HhBw5Cq1enWctOtBb&open=AZ1HhBw5Cq1enWctOtBb&pullRequest=2774

Check warning on line 664 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless assignment to variable "fullContext".

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1EwYCjXC9OZViuhkug&open=AZ1EwYCjXC9OZViuhkug&pullRequest=2774

Check warning on line 667 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#replaceAll()` over `String#replace()`.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1EwYCjXC9OZViuhkuh&open=AZ1EwYCjXC9OZViuhkuh&pullRequest=2774

Check warning on line 1046 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1CUtS91q7FpChClRmV&open=AZ1CUtS91q7FpChClRmV&pullRequest=2774

Check warning on line 649 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'String#startsWith' method instead.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1EwYCjXC9OZViuhkue&open=AZ1EwYCjXC9OZViuhkue&pullRequest=2774

Check warning on line 664 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of the unused 'fullContext' variable.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1EwYCjXC9OZViuhkuf&open=AZ1EwYCjXC9OZViuhkuf&pullRequest=2774

Check warning on line 1047 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1CUtS91q7FpChClRmW&open=AZ1CUtS91q7FpChClRmW&pullRequest=2774

Check warning on line 971 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1CUtS91q7FpChClRmU&open=AZ1CUtS91q7FpChClRmU&pullRequest=2774

Check failure on line 605 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Specify a target origin for this message.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1HhBw5Cq1enWctOtBc&open=AZ1HhBw5Cq1enWctOtBc&pullRequest=2774

Check warning on line 634 in src/extensionsIntegrated/Phoenix-live-preview/MarkdownSync.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove redundant quantifier {1}.

See more on https://sonarcloud.io/project/issues?id=phcode-dev_phoenix&issues=AZ1EwYCjXC9OZViuhkud&open=AZ1EwYCjXC9OZViuhkud&pullRequest=2774