forked from MapComplete/MapComplete
chore: automatic fix some linting errors, update lint config
This commit is contained in:
parent
04c8ccb0d2
commit
804280511b
26 changed files with 47 additions and 45 deletions
|
@ -14,7 +14,7 @@ export class ComparisonState {
|
|||
externalProperties = { ...externalProperties }
|
||||
delete externalProperties["@context"]
|
||||
|
||||
let externalKeys: string[] = Object.keys(externalProperties).sort()
|
||||
const externalKeys: string[] = Object.keys(externalProperties).sort()
|
||||
|
||||
const imageKeyRegex = /image|image:[0-9]+/
|
||||
|
||||
|
@ -35,7 +35,7 @@ export class ComparisonState {
|
|||
)
|
||||
|
||||
this.propertyKeysExternal = externalKeys.filter((k) => k.match(imageKeyRegex) === null)
|
||||
let propertyKeysExternal = this.propertyKeysExternal
|
||||
const propertyKeysExternal = this.propertyKeysExternal
|
||||
this.missing = tags.map((osmProperties) =>
|
||||
propertyKeysExternal.filter((k) => {
|
||||
if (k.startsWith("_")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue