mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Add 'no-multi-spaces' lint
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user