From d6b779d074a02a60c997b070b8cc548d3ad140b5 Mon Sep 17 00:00:00 2001 From: Andreas Richter <708186+richtera@users.noreply.github.com> Date: Fri, 29 Mar 2024 09:18:36 -0400 Subject: [PATCH 1/8] fix: Add biome settings --- biome.json | 14 ++ src/components/endpoints/SendTransaction.vue | 72 ++++++++- src/components/shared/ContractFunction.vue | 146 ++++++++++++++----- src/components/shared/ParamField.vue | 96 ++++++++++-- src/compositions/useWeb3Connection.ts | 24 +-- src/helpers/functionUtils.ts | 13 +- src/helpers/tokenUtils.ts | 19 ++- 7 files changed, 298 insertions(+), 86 deletions(-) create mode 100644 biome.json diff --git a/biome.json b/biome.json new file mode 100644 index 00000000..93897a3f --- /dev/null +++ b/biome.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.6.1/schema.json", + "linter": { + "enabled": true, + "rules": { + "suspicious": { + "noExplicitAny": "off" + }, + "performance": { + "noDelete": "off" + } + } + } +} diff --git a/src/components/endpoints/SendTransaction.vue b/src/components/endpoints/SendTransaction.vue index 3112c011..5da57473 100644 --- a/src/components/endpoints/SendTransaction.vue +++ b/src/components/endpoints/SendTransaction.vue @@ -1,7 +1,7 @@