feat: Developer & CI Tooling & Bun -> Node, Hono -> Express #66
Quality Gate failed
Failed conditions
1 Security Hotspot
Annotations
Check warning on line 33 in src/index.ts
sonarqubecloud / SonarCloud Code Analysis
Do not use an object literal as default.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZvIj2O4aR4TAX48cjZj&open=AZvIj2O4aR4TAX48cjZj&pullRequest=66
Check warning on line 45 in src/logger.ts
sonarqubecloud / SonarCloud Code Analysis
Do not call `Array#push()` multiple times.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZvIj2PDaR4TAX48cjZk&open=AZvIj2PDaR4TAX48cjZk&pullRequest=66
Check warning on line 10 in src/constants.ts
sonarqubecloud / SonarCloud Code Analysis
Take the required action to fix the issue indicated by this comment.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZvIj2LOaR4TAX48cjZO&open=AZvIj2LOaR4TAX48cjZO&pullRequest=66
Check warning on line 43 in src/test/exit-payload-invalid.test.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this code to not use nested template literals.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZySqMzk5O1zmMfQrugB&open=AZySqMzk5O1zmMfQrugB&pullRequest=66
Check warning on line 46 in src/logger.ts
sonarqubecloud / SonarCloud Code Analysis
Do not call `Array#push()` multiple times.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZvIj2PDaR4TAX48cjZl&open=AZvIj2PDaR4TAX48cjZl&pullRequest=66
Check warning on line 3 in Dockerfile
sonarqubecloud / SonarCloud Code Analysis
Merge this RUN instruction with the consecutive ones.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZy760rFKbMVNyVbSyX3&open=AZy760rFKbMVNyVbSyX3&pullRequest=66
Check warning on line 35 in src/test/helpers/decode-exit-payload.ts
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=0xPolygon_proof-generation-api&issues=AZy760m8KbMVNyVbSyX0&open=AZy760m8KbMVNyVbSyX0&pullRequest=66
Check warning on line 18 in src/env.ts
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=0xPolygon_proof-generation-api&issues=AZyQHtNkYCq9_CP_j3o1&open=AZyQHtNkYCq9_CP_j3o1&pullRequest=66
Check warning on line 364 in src/services/v1ProofGenerationServices.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZvIs2qmJjT7NEpvkmBK&open=AZvIs2qmJjT7NEpvkmBK&pullRequest=66
Check warning on line 38 in src/routes/v1.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `Number.parseInt` over `parseInt`.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZvIj2NlaR4TAX48cjZQ&open=AZvIj2NlaR4TAX48cjZQ&pullRequest=66
Check warning on line 46 in src/services/v1ProofGenerationServices.ts
sonarqubecloud / SonarCloud Code Analysis
This case's code block is the same as the block for the case on line 26.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZvIj2OgaR4TAX48cjZg&open=AZvIj2OgaR4TAX48cjZg&pullRequest=66
Check warning on line 27 in src/logger.ts
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZyR2MoT1LJLR9J4ewJh&open=AZyR2MoT1LJLR9J4ewJh&pullRequest=66
Check warning on line 49 in src/env.ts
sonarqubecloud / SonarCloud Code Analysis
`booleanStrings` should be a `Set`, and use `booleanStrings.has()` to check existence or non-existence.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZyR2MnY1LJLR9J4ewJg&open=AZyR2MnY1LJLR9J4ewJg&pullRequest=66
Check warning on line 42 in src/test/helpers/decode-exit-payload.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `Number.parseInt` over `parseInt`.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZySQXj2XydDyRfM5Qv_&open=AZySQXj2XydDyRfM5Qv_&pullRequest=66
Check warning on line 38 in src/env.ts
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=0xPolygon_proof-generation-api&issues=AZvIj2OAaR4TAX48cjZa&open=AZvIj2OAaR4TAX48cjZa&pullRequest=66
Check warning on line 38 in src/routes/v1.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `Number.parseInt` over `parseInt`.
See more on https://sonarcloud.io/project/issues?id=0xPolygon_proof-generation-api&issues=AZvIj2NlaR4TAX48cjZP&open=AZvIj2NlaR4TAX48cjZP&pullRequest=66
Check warning on line 41 in src/test/helpers/decode-exit-payload.ts
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=0xPolygon_proof-generation-api&issues=AZy760m8KbMVNyVbSyX1&open=AZy760m8KbMVNyVbSyX1&pullRequest=66
Check warning on line 111 in src/routes/v1.ts
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=0xPolygon_proof-generation-api&issues=AZvIj2NlaR4TAX48cjZU&open=AZvIj2NlaR4TAX48cjZU&pullRequest=66