Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix eslint and other formatting errors
Rūdolfs Ošiņš committed 1 year ago
commit b1ac40cc92ac5620315baafd12ab866089cad4f6
parent dd3bead7e18234b73c05f0439899e4952f07ad1c
4 files changed +8 -8
modified eslint.config.js
@@ -134,6 +134,7 @@ export default [
  },
  {
    ignores: [
+
      "build/*",
      "isolation/*",
      "node_modules/**/*",
      "src-tauri/**/*",
modified isolation/index.html
@@ -1,13 +1,11 @@
<!doctype html>
<html lang="en">
-

-
<head>
+
  <head>
    <meta charset="UTF-8" />
    <title>Isolation Secure Script</title>
-
</head>
+
  </head>

-
<body>
+
  <body>
    <script src="index.js"></script>
-
</body>
-

-
</html>

\ No newline at end of file
+
  </body>
+
</html>
modified src/components/Label.svelte
@@ -3,7 +3,7 @@
  export let styleFillColor: string = "transparent";
  export let emptyPixels: 2 | 1 = 2;

-
  let gridTemplate = `${"2px ".repeat(emptyPixels)}auto ${"2px ".repeat(emptyPixels)}`;
+
  const gridTemplate = `${"2px ".repeat(emptyPixels)}auto ${"2px ".repeat(emptyPixels)}`;
</script>

<style>
modified src/views/Startup.svelte
@@ -11,6 +11,7 @@
  onMount(async () => {
    try {
      await invoke("authenticate");
+
      // eslint-disable-next-line @typescript-eslint/no-explicit-any
    } catch (e: any) {
      error = e;
    } finally {