Add JSON to TypeScript script - #404
Quality Gate passed
Annotations
Check warning on line 163 in Scripts/JSONtoTypeScript.js
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
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
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
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
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
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
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