chore: automatic fix some linting errors, update lint config

This commit is contained in:
Pieter Vander Vennet 2025-06-18 21:52:03 +02:00
parent 04c8ccb0d2
commit 804280511b
26 changed files with 47 additions and 45 deletions

View file

@ -25,7 +25,7 @@ export default class FeatureSourceMerger<Src extends FeatureSource = FeatureSour
this.featuresById = this._featuresById
const self = this
sources = Utils.NoNull(sources)
for (let source of sources) {
for (const source of sources) {
source.features.addCallback(() => {
self.addDataFromSources(sources)
})

View file

@ -34,7 +34,7 @@ export class PolygonSourceMerger extends UpdatableDynamicTileSource<
const zooms: Map<string, number> = new Map()
for (const source of sources) {
let z = source.z
const z = source.z
for (const f of source.features.data) {
const id = f.properties.id
if (id.endsWith("146616907")) {