hashgraph / hedera-mirror-node-explorer

Hedera Mirror Node Explorer for the Hedera Hashgraph DLT.
Apache License 2.0
14 stars 9 forks source link

chore: fixed some warnings reported by eslint #1089

Closed ericleponner closed 1 month ago

ericleponner commented 1 month ago

Description:

Changes below fix some warnings reported by eslint.

Checklist

github-actions[bot] commented 1 month ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 82.76% 39513 / 47743
🔵 Statements 82.76% 39513 / 47743
🔵 Functions 62.95% 894 / 1420
🔵 Branches 83.99% 4114 / 4898
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/components/NameCollisionDialog.vue 76.33% 100% 0% 76.33% 92-122
src/components/contract/ContractByteCodeSection.vue 84.61% 61.53% 14.28% 84.61% 1, 32-33, 141-142, 165-166, 255-256, 268-270, 277-278, 281-282, 285-311, 317, 326-333, 337-345, 356, 361, 365
src/components/download/TransactionDownloadDialog.vue 82.22% 56.25% 33.33% 82.22% 168-169, 184-185, 201, 203, 207-208, 220-231, 235-238, 241-272
src/components/values/DisassembledCodeValue.vue 98.98% 87.5% 100% 98.98% 82
src/components/values/abi/ContractAbiDialog.vue 69.93% 100% 0% 69.93% 96-144
src/utils/cache/LabelByIdCache.ts 100% 100% 100% 100%
src/utils/name_service/provider/NameServiceProvider.ts 100% 100% 100% 100%
src/utils/wallet/WalletDriver.ts 71.18% 100% 14.28% 71.18% 36-37, 41-42, 46-47, 51-52, 56-57, 66-69, 72-74, 77-79, 82-84, 87-89, 92-94, 97-101
src/utils/wallet/WalletDriver_Ethereum.ts 23.05% 100% 5.55% 23.05% 45-82, 89-91, 98-133, 136-138, 141-163, 166-188, 192-210, 213-214, 221-228, 231-232, 235-237, 240-255, 262-295, 298-341, 344-375, 379-401, 405-422
Generated in workflow #951
sonarcloud[bot] commented 1 month ago

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint