Add 'no-multi-spaces' lint

This commit is contained in:
Alexis Sellier
2021-07-11 14:50:26 +02:00
parent 99ed7f41a2
commit 44fe3624c3
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -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",
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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 {