Fix linting errors, improve lint scripts

This commit is contained in:
2026-02-24 16:03:12 +04:00
parent 9ac4273fae
commit 845be96b71
13 changed files with 56 additions and 42 deletions

View File

@@ -181,9 +181,11 @@ export default class SearchBoxComponent extends Component {
<div class="result-info">
<span class="result-title">{{result.title}}</span>
{{#if (eq result.source "osm")}}
<span class="result-desc">{{humanizeOsmTag result.type}}</span>
<span class="result-desc">{{humanizeOsmTag
result.type
}}</span>
{{else}}
{{#if result.description}}
{{#if result.description}}
<span class="result-desc">{{result.description}}</span>
{{/if}}
{{/if}}