Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Add 'no-multi-spaces' lint
Alexis Sellier committed 4 years ago
commit 44fe3624c3163b790a2be01ab653097c04db1739
parent 99ed7f41a282734dd8cf66fe5372bd8cf1a22fdb
3 files changed +3 -2
modified .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",
modified 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;
    }
  };
</script>
modified src/utils.ts
@@ -199,7 +199,7 @@ export async function resolveLabel(label: string, config: Config): Promise<strin
  return config.provider.resolveName(`${label}.${config.registrar.domain}`);
}

-
export async function lookupAddress(address: string, config: Config): Promise<Profile>  {
+
export async function lookupAddress(address: string, config: Config): Promise<Profile> {
  const profile: Profile = { ens: null, idx: null };

  try {