Skip to content

Merge branch 'develop' into multi-file-support

3f598c8
Select commit
Loading
Failed to load commit list.
Open

Multi-file support #934

Merge branch 'develop' into multi-file-support
3f598c8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 28, 2026 in 1m 32s

Quality Gate failed

Failed conditions
7 Security Hotspots
14.6% Duplication on New Code (required ≤ 3%)
C Reliability 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 warning on line 293 in src/livecodes/compiler/import-map.ts

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=live-codes_livecodes&issues=AZ4viO7T2iU0xy3YdDKb&open=AZ4viO7T2iU0xy3YdDKb&pullRequest=934

Check warning on line 169 in src/livecodes/handlers/keyboard-shortcuts.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.indexOf()` instead of `.findIndex()` when looking for the index of an item.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPJX2iU0xy3YdDLR&open=AZ4viPJX2iU0xy3YdDLR&pullRequest=934

Check warning on line 534 in src/livecodes/core.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ5YdeC_8vOGvGXT1EhX&open=AZ5YdeC_8vOGvGXT1EhX&pullRequest=934

Check warning on line 6128 in src/livecodes/core.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since the receiver accepts the original type of the expression.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ5YdeC_8vOGvGXT1EhZ&open=AZ5YdeC_8vOGvGXT1EhZ&pullRequest=934

Check warning on line 293 in src/livecodes/compiler/import-map.ts

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=live-codes_livecodes&issues=AZ4viO7T2iU0xy3YdDKZ&open=AZ4viO7T2iU0xy3YdDKZ&pullRequest=934

Check warning on line 240 in src/livecodes/UI/create-language-menus.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viO_C2iU0xy3YdDKu&open=AZ4viO_C2iU0xy3YdDKu&pullRequest=934

Check warning on line 13 in src/livecodes/languages/dotenv/lang-dotenv.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `self`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viO3u2iU0xy3YdDKB&open=AZ4viO3u2iU0xy3YdDKB&pullRequest=934

Check warning on line 14 in src/livecodes/languages/dotenv/lang-dotenv.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `self`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viO3u2iU0xy3YdDKC&open=AZ4viO3u2iU0xy3YdDKC&pullRequest=934

Check failure on line 473 in src/livecodes/languages/vue/lang-vue-compiler.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viO5W2iU0xy3YdDKI&open=AZ4viO5W2iU0xy3YdDKI&pullRequest=934

Check warning on line 583 in src/livecodes/result/multi-file-result-page.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPKa2iU0xy3YdDLk&open=AZ4viPKa2iU0xy3YdDLk&pullRequest=934

Check warning on line 435 in src/livecodes/core.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPNj2iU0xy3YdDLr&open=AZ4viPNj2iU0xy3YdDLr&pullRequest=934

Check warning on line 5 in src/livecodes/templates/multifile/lit.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viO8K2iU0xy3YdDKi&open=AZ4viO8K2iU0xy3YdDKi&pullRequest=934

Check warning on line 191 in src/livecodes/result/multi-file-result-page.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPKa2iU0xy3YdDLW&open=AZ4viPKa2iU0xy3YdDLW&pullRequest=934

Check warning on line 27 in src/livecodes/config/utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPK42iU0xy3YdDLn&open=AZ4viPK42iU0xy3YdDLn&pullRequest=934

Check warning on line 22 in src/livecodes/config/utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.some(…)` over `.find(…)`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPK42iU0xy3YdDLo&open=AZ4viPK42iU0xy3YdDLo&pullRequest=934

Check warning on line 26 in src/livecodes/import/utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPCh2iU0xy3YdDK9&open=AZ4viPCh2iU0xy3YdDK9&pullRequest=934

Check warning on line 27 in src/livecodes/config/utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPK42iU0xy3YdDLp&open=AZ4viPK42iU0xy3YdDLp&pullRequest=934

Check warning on line 439 in src/livecodes/languages/vue/lang-vue-compiler.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the "RegExp.exec()" method instead.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viO5W2iU0xy3YdDKD&open=AZ4viO5W2iU0xy3YdDKD&pullRequest=934

Check warning on line 5900 in src/livecodes/core.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPNj2iU0xy3YdDMD&open=AZ4viPNj2iU0xy3YdDMD&pullRequest=934

Check warning on line 9 in src/livecodes/compiler/compile-in-compiler.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use an object literal as default for parameter `options`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viO7m2iU0xy3YdDKf&open=AZ4viO7m2iU0xy3YdDKf&pullRequest=934

Check warning on line 92 in src/livecodes/editor/binary-file-editor.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPG72iU0xy3YdDLI&open=AZ4viPG72iU0xy3YdDLI&pullRequest=934

Check warning on line 5 in src/livecodes/templates/multifile/vue.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viO9K2iU0xy3YdDKp&open=AZ4viO9K2iU0xy3YdDKp&pullRequest=934

Check warning on line 5416 in src/livecodes/core.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.some(…)` over `.find(…)`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viPNj2iU0xy3YdDMC&open=AZ4viPNj2iU0xy3YdDMC&pullRequest=934

Check warning on line 5 in src/livecodes/templates/multifile/solid.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ4viO8c2iU0xy3YdDKk&open=AZ4viO8c2iU0xy3YdDKk&pullRequest=934

Check warning on line 6221 in src/livecodes/core.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZ5YdeC_8vOGvGXT1Eha&open=AZ5YdeC_8vOGvGXT1Eha&pullRequest=934