From 44fe3624c3163b790a2be01ab653097c04db1739 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Sun, 11 Jul 2021 14:50:26 +0200 Subject: [PATCH] Add 'no-multi-spaces' lint --- .eslintrc.json | 1 + src/base/orgs/Create.svelte | 2 +- src/utils.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 8ebf83841..cc423c768 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -28,6 +28,7 @@ "curly": ["error", "multi-line", "consistent"], "keyword-spacing": ["error"], "no-trailing-spaces": ["error"], + "no-multi-spaces": ["error"], "space-before-function-paren": ["error", { "anonymous": "always", "named": "never", diff --git a/src/base/orgs/Create.svelte b/src/base/orgs/Create.svelte index 30ec0ab25..d70afe18f 100644 --- a/src/base/orgs/Create.svelte +++ b/src/base/orgs/Create.svelte @@ -73,7 +73,7 @@ const onGovernanceChanged = (event: { detail: string }) => { switch (event.detail) { case "bdfl": governance = Governance.BDFL; break; - case "quorum": governance = Governance.Quorum; break; + case "quorum": governance = Governance.Quorum; break; } }; diff --git a/src/utils.ts b/src/utils.ts index e77754aba..d71cc46c5 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -199,7 +199,7 @@ export async function resolveLabel(label: string, config: Config): Promise { +export async function lookupAddress(address: string, config: Config): Promise { const profile: Profile = { ens: null, idx: null }; try {