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 {