From 27b0a6e0e50139658abf8a8a1daed19ad3e28896 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Thu, 9 Jan 2025 13:23:32 +0200 Subject: [PATCH] Attempt to fix lint error --- assets/js/liveview/live_socket.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/js/liveview/live_socket.js b/assets/js/liveview/live_socket.js index b2d84dae5109..2595d8b2daf9 100644 --- a/assets/js/liveview/live_socket.js +++ b/assets/js/liveview/live_socket.js @@ -1,7 +1,10 @@ import "phoenix_html" -import Alpine from 'alpinejs' +// eslint-disable-next-line import/no-unresolved import { Socket } from "phoenix" +// eslint-disable-next-line import/no-unresolved import { LiveSocket } from "phoenix_live_view" +// eslint-disable-next-line import/no-unresolved +import Alpine from 'alpinejs' let csrfToken = document.querySelector("meta[name='csrf-token']") let websocketUrl = document.querySelector("meta[name='websocket-url']")