Skip to content

Add JSON to TypeScript script - #404

Open
S4nshine wants to merge 1 commit into
IvanMathy:mainfrom
S4nshine:script/json-to-typescript
Open

Add JSON to TypeScript script#404
S4nshine wants to merge 1 commit into
IvanMathy:mainfrom
S4nshine:script/json-to-typescript

Add JSON to TypeScript script

26efbaf
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 21, 2026 in 19s

Annotations

Check warning on line 163 in Scripts/JSONtoTypeScript.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'.

See more on https://sonarcloud.io/project/issues?id=IvanMathy_Boop&issues=AaAjIwO5COb4kPNImqnn&open=AaAjIwO5COb4kPNImqnn&pullRequest=404

Check warning on line 79 in Scripts/JSONtoTypeScript.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=IvanMathy_Boop&issues=AaAjIwO5COb4kPNImqnl&open=AaAjIwO5COb4kPNImqnl&pullRequest=404

Check warning on line 57 in Scripts/JSONtoTypeScript.js

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=IvanMathy_Boop&issues=AaAjIwO5COb4kPNImqnk&open=AaAjIwO5COb4kPNImqnk&pullRequest=404

Check warning on line 129 in Scripts/JSONtoTypeScript.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use `.includes()`, rather than `.indexOf()`, when checking for existence.

See more on https://sonarcloud.io/project/issues?id=IvanMathy_Boop&issues=AaAjIwO5COb4kPNImqnm&open=AaAjIwO5COb4kPNImqnm&pullRequest=404

Check warning on line 197 in Scripts/JSONtoTypeScript.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use concise character class syntax '\d' instead of '[0-9]'.

See more on https://sonarcloud.io/project/issues?id=IvanMathy_Boop&issues=AaAjIwO5COb4kPNImqno&open=AaAjIwO5COb4kPNImqno&pullRequest=404

Check warning on line 202 in Scripts/JSONtoTypeScript.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the 'String#endsWith' method instead.

See more on https://sonarcloud.io/project/issues?id=IvanMathy_Boop&issues=AaAjIwO5COb4kPNImqnp&open=AaAjIwO5COb4kPNImqnp&pullRequest=404

Check warning on line 215 in Scripts/JSONtoTypeScript.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the 'String#endsWith' method instead.

See more on https://sonarcloud.io/project/issues?id=IvanMathy_Boop&issues=AaAjIwO5COb4kPNImqnq&open=AaAjIwO5COb4kPNImqnq&pullRequest=404