From cc03b4468ef8495f67544c891d740e4f776d4ffb Mon Sep 17 00:00:00 2001 From: bryans-go Date: Sat, 12 Oct 2024 14:24:41 +0530 Subject: [PATCH] fix lint Signed-off-by: bryans-go --- script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script.js b/script.js index cd9cd73..1787956 100644 --- a/script.js +++ b/script.js @@ -28,13 +28,14 @@ function addTodo() { updateTodoList(); } +// eslint-disable-next-line no-unused-vars function deleteTodo(index) { // Remove the specific todo from the list todoList.splice(index, 1); localStorage.setItem('todoList', JSON.stringify(todoList)); updateTodoList(); } - +// eslint-disable-next-line no-unused-vars function editTodo(index) { let inputNameElement = document.querySelector('.js-name-input'); let inputDateElement = document.querySelector('.js-date-input');