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 #1049

Closed ericleponner closed 2 months ago

ericleponner commented 2 months ago

Description: Changes fix some warnings reported by eslint. They also rename eslint.js as eslint.cjs (needed since we set type: "module" in package.json).

Checklist

sonarcloud[bot] commented 2 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
C 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

github-actions[bot] commented 2 months ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 83.08% 39019 / 46963
🔵 Statements 83.08% 39019 / 46963
🔵 Functions 63.02% 888 / 1409
🔵 Branches 84.33% 4080 / 4838
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/components/AlertDialog.vue 100% 100% 100% 100%
src/components/dialog/CommitButton.vue 88.29% 100% 0% 88.29% 62-72
src/components/transaction/TransactionTablePageSize.vue 100% 100% 50% 100%
src/components/values/EVMAddress.vue 97.74% 94.36% 77.77% 97.74% 89-90, 227-230
src/components/values/SourceCodeValue.vue 92.13% 100% 0% 92.13% 74-80
src/components/values/abi/ContractAbiValue.vue 50.94% 100% 0% 50.94% 153-308
src/utils/cache/NetworkCache.ts 100% 88.88% 100% 100%
Generated in workflow #886