chore: automated housekeeping...

This commit is contained in:
Pieter Vander Vennet 2024-10-19 14:44:55 +02:00
parent c9ce29f206
commit 40e894df8b
294 changed files with 14209 additions and 4192 deletions

View file

@ -88,7 +88,7 @@ export class PrevalidateLayer extends DesugaringStep<LayerConfigJson> {
}
}
if(json["doCount"] !== undefined){
if (json["doCount"] !== undefined) {
context.err("Detected 'doCount'. did you mean: isCounted ?")
}
@ -145,7 +145,11 @@ export class PrevalidateLayer extends DesugaringStep<LayerConfigJson> {
}
}
if(this._isBuiltin && json.allowMove === undefined && json.source["geoJson"] === undefined) {
if (
this._isBuiltin &&
json.allowMove === undefined &&
json.source["geoJson"] === undefined
) {
if (!Constants.priviliged_layers.find((x) => x == json.id)) {
context.err("Layer " + json.id + " does not have an explicit 'allowMove'")
}