Start linting with eslint

This commit is contained in:
Tristan Daniël Maat 2022-08-03 01:48:06 +01:00
parent 056acbf397
commit f9bd128a02
Signed by: tlater
GPG key ID: 49670FD774E43268
15 changed files with 786 additions and 100 deletions

View file

@ -1,8 +1,8 @@
document.addEventListener("DOMContentLoaded", () => {
let flashButtons = document.querySelectorAll(".notification .delete");
const flashButtons = document.querySelectorAll(".notification .delete");
flashButtons.forEach((button) => {
let flash = button.parentNode;
const flash = button.parentNode;
if (flash == null) {
console.error(