Skip to content

Merge branch 'develop' into multi-file-support

6a797ff
Select commit
Loading
Failed to load commit list.
Open

Multi-file support #934

Merge branch 'develop' into multi-file-support
6a797ff
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 6, 2026 in 1m 36s

Quality Gate failed

Failed conditions
7 Security Hotspots
10.7% 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 697 in src/livecodes/utils/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=AZwVnf-AJqICmnXnrzv4&open=AZwVnf-AJqICmnXnrzv4&pullRequest=934

Check warning on line 325 in src/livecodes/compiler/create-compiler.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=AZxP61KoY0cDcpLm0frn&open=AZxP61KoY0cDcpLm0frn&pullRequest=934

Check warning on line 57 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=AZwVnf54JqICmnXnrzvl&open=AZwVnf54JqICmnXnrzvl&pullRequest=934

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'If' statement should not be the only statement in 'else' block

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

Check warning on line 107 in src/livecodes/config/config.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this union type with a type alias.

See more on https://sonarcloud.io/project/issues?id=live-codes_livecodes&issues=AZxTy8JIpkDsV6zPuSg2&open=AZxTy8JIpkDsV6zPuSg2&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=AZwVnf2hJqICmnXnrzvU&open=AZwVnf2hJqICmnXnrzvU&pullRequest=934

Check warning on line 222 in src/livecodes/import/files.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected the Promise rejection reason to be an Error.

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

Check warning on line 5892 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=AZwVngBqJqICmnXnrzwn&open=AZwVngBqJqICmnXnrzwn&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=AZwVnf7PJqICmnXnrzvw&open=AZwVnf7PJqICmnXnrzvw&pullRequest=934

Check warning on line 87 in src/livecodes/languages/svelte/lang-svelte-compiler.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=AZxymBLfhsIiK-XJnfAD&open=AZxymBLfhsIiK-XJnfAD&pullRequest=934

Check warning on line 1577 in src/livecodes/core.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=AZwVngBqJqICmnXnrzwg&open=AZwVngBqJqICmnXnrzwg&pullRequest=934

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

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

Check warning on line 24 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=AZwVnf8FJqICmnXnrzv2&open=AZwVnf8FJqICmnXnrzv2&pullRequest=934

Check warning on line 353 in src/livecodes/result/multi-file-result-page.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=AZwVnf_rJqICmnXnrzwF&open=AZwVnf_rJqICmnXnrzwF&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=AZwVnf_-JqICmnXnrzwO&open=AZwVnf_-JqICmnXnrzwO&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=AZxn63IP94k3NWxbrrje&open=AZxn63IP94k3NWxbrrje&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=AZwVnf_rJqICmnXnrzv_&open=AZwVnf_rJqICmnXnrzv_&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=AZwVnf8FJqICmnXnrzv0&open=AZwVnf8FJqICmnXnrzv0&pullRequest=934

Check warning on line 19 in src/livecodes/import/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=AZwVnf7PJqICmnXnrzvv&open=AZwVnf7PJqICmnXnrzvv&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=AZwVnf0qJqICmnXnrzvL&open=AZwVnf0qJqICmnXnrzvL&pullRequest=934

Check warning on line 468 in src/livecodes/languages/vue/lang-vue-compiler.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=AZxP61AZY0cDcpLm0frg&open=AZxP61AZY0cDcpLm0frg&pullRequest=934

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rework this part of the regex to not match the empty string.

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

Check warning on line 329 in src/livecodes/compiler/import-map.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=AZwVnf0qJqICmnXnrzvP&open=AZwVnf0qJqICmnXnrzvP&pullRequest=934

Check warning on line 21 in src/livecodes/languages/json/lang-json5.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=AZyrUcEBsZaVqOVf-CmE&open=AZyrUcEBsZaVqOVf-CmE&pullRequest=934

Check warning on line 118 in src/livecodes/languages/svelte/lang-svelte-compiler.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=AZwVnfthJqICmnXnrzu8&open=AZwVnfthJqICmnXnrzu8&pullRequest=934