mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Lint: comma-spacing (error) & comma-dangle (error) (#4200)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
02e77afcd1
commit
c6dce043a7
406 files changed
+1590
-1580
No files matched your search
@@ -41,7 +41,7 @@ export function bindProtocolAddRouteHandlers() {
|
||||
<p>
|
||||
Unknown Action for <code>lens://app/{tail}</code>.{" "}
|
||||
Are you on the latest version?
|
||||
</p>
|
||||
</p>,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -53,8 +53,8 @@ export function bindProtocolAddRouteHandlers() {
|
||||
.addInternalHandler("/landing/view/:group/:kind", ({ pathname: { group, kind }}) => {
|
||||
navigate(routes.catalogURL({
|
||||
params: {
|
||||
group, kind
|
||||
}
|
||||
group, kind,
|
||||
},
|
||||
}));
|
||||
})
|
||||
.addInternalHandler("/cluster", () => {
|
||||
@@ -69,7 +69,7 @@ export function bindProtocolAddRouteHandlers() {
|
||||
Notifications.shortInfo(
|
||||
<p>
|
||||
Unknown catalog entity <code>{entityId}</code>.
|
||||
</p>
|
||||
</p>,
|
||||
);
|
||||
}
|
||||
})
|
||||
@@ -83,7 +83,7 @@ export function bindProtocolAddRouteHandlers() {
|
||||
Notifications.shortInfo(
|
||||
<p>
|
||||
Unknown catalog entity <code>{clusterId}</code>.
|
||||
</p>
|
||||
</p>,
|
||||
);
|
||||
}
|
||||
})
|
||||
@@ -96,7 +96,7 @@ export function bindProtocolAddRouteHandlers() {
|
||||
Notifications.shortInfo(
|
||||
<p>
|
||||
Unknown catalog entity <code>{clusterId}</code>.
|
||||
</p>
|
||||
</p>,
|
||||
);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -63,10 +63,10 @@ export class LensProtocolRouterRenderer extends proto.LensProtocolRouter {
|
||||
<p>
|
||||
Unknown action <code>{rawUrl}</code>.{" "}
|
||||
Are you on the latest version?
|
||||
</p>
|
||||
</p>,
|
||||
);
|
||||
}
|
||||
}
|
||||
},
|
||||
});
|
||||
onCorrect({
|
||||
channel: proto.ProtocolHandlerExtension,
|
||||
@@ -81,7 +81,7 @@ export class LensProtocolRouterRenderer extends proto.LensProtocolRouter {
|
||||
<p>
|
||||
Unknown action <code>{rawUrl}</code>.{" "}
|
||||
Are you on the latest version of the extension?
|
||||
</p>
|
||||
</p>,
|
||||
);
|
||||
break;
|
||||
case RouteAttempt.MISSING_EXTENSION:
|
||||
@@ -90,11 +90,11 @@ export class LensProtocolRouterRenderer extends proto.LensProtocolRouter {
|
||||
Missing extension for action <code>{rawUrl}</code>.{" "}
|
||||
Not able to find extension in our known list.{" "}
|
||||
Try installing it manually.
|
||||
</p>
|
||||
</p>,
|
||||
);
|
||||
break;
|
||||
}
|
||||
}
|
||||
},
|
||||
});
|
||||
onCorrect({
|
||||
channel: ProtocolHandlerInvalid,
|
||||
@@ -113,7 +113,7 @@ export class LensProtocolRouterRenderer extends proto.LensProtocolRouter {
|
||||
},
|
||||
verifier: (args): args is [string, string] => {
|
||||
return args.length === 2 && typeof args[0] === "string";
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user