Skip to content

Commit

Permalink
refactor: Linted code
Browse files Browse the repository at this point in the history
  • Loading branch information
ecyht2 committed Apr 6, 2024
1 parent 3351c25 commit 89966b4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export default {
tailwindcss: {},
autoprefixer: {},
},
}
};
4 changes: 2 additions & 2 deletions src/js/communication.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** Communication Logic with the Boat. */
import { invoke } from "@tauri-apps/api";
import { emit, listen } from "@tauri-apps/api/event";
import { listen } from "@tauri-apps/api/event";
import * as logging from "tauri-plugin-log-api";

import * as boat_vars from "./data";
Expand All @@ -26,7 +26,7 @@ if (run_button === null) {
} catch (e) {
logging.error(e);
}
})
});
}

/** The current connected port.
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ export default {
extend: {},
},
plugins: [],
}
};

4 changes: 3 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import * as process from "process";

export default {
root: "./src",
// prevent vite from obscuring rust errors
Expand All @@ -17,4 +19,4 @@ export default {
// produce sourcemaps for debug builds
sourcemap: !!process.env.TAURI_DEBUG,
}
}
};

0 comments on commit 89966b4

Please sign in to comment.