diff --git a/build/test/build-tape.js b/build/test/build-tape.js
index 81345061ee..f122c6b053 100644
--- a/build/test/build-tape.js
+++ b/build/test/build-tape.js
@@ -14,4 +14,4 @@ export default function() {
});
});
});
-};
+}
diff --git a/debug/2762.html b/debug/2762.html
index d2dd80e153..e1ebce5450 100644
--- a/debug/2762.html
+++ b/debug/2762.html
@@ -46,7 +46,7 @@
}
});
-map.on('click', function(e) {
+map.on('click', function(_) {
map.setPaintProperty("circle", "circle-color", "red");
map.setPaintProperty("circle", "circle-translate", [50, 50]);
});
diff --git a/debug/canvas.html b/debug/canvas.html
index 461593bdfa..0aa055fe25 100644
--- a/debug/canvas.html
+++ b/debug/canvas.html
@@ -61,7 +61,7 @@
}]
};
-var map = new maplibregl.Map({
+new maplibregl.Map({
container: 'map',
minZoom: 14,
zoom: 17,
diff --git a/debug/cluster.html b/debug/cluster.html
index 4fa5f8b5ca..21724c1370 100644
--- a/debug/cluster.html
+++ b/debug/cluster.html
@@ -117,7 +117,7 @@
});
});
- map.on('mouseleave', 'cluster', (e) => {
+ map.on('mouseleave', 'cluster', (_) => {
map.getCanvas().style.cursor = '';
updateHover([]);
});
diff --git a/debug/csp-static.html b/debug/csp-static.html
index 6db7070814..26b27d4e1f 100644
--- a/debug/csp-static.html
+++ b/debug/csp-static.html
@@ -22,7 +22,7 @@
maplibregl.workerUrl = '/dist/maplibre-gl-csp-worker.js';
-var map = window.map = new maplibregl.Map({
+new maplibregl.Map({
container: 'map',
zoom: 12.5,
center: [-77.01866, 38.888],
diff --git a/debug/csp.html b/debug/csp.html
index 80e56c1772..bc2457c462 100644
--- a/debug/csp.html
+++ b/debug/csp.html
@@ -18,7 +18,7 @@