add oneway to list of attribute-only tag (#10706)

This commit is contained in:
Avan2021
2025-02-04 15:30:51 +05:30
committed by GitHub
parent 51ee85f6f5
commit f44702e0b5

View File

@@ -9,7 +9,7 @@ export function validationMissingTag(context) {
var type = 'missing_tag';
function hasDescriptiveTags(entity) {
var onlyAttributeKeys = ['description', 'name', 'note', 'start_date'];
var onlyAttributeKeys = ['description', 'name', 'note', 'start_date', 'oneway'];
var entityDescriptiveKeys = Object.keys(entity.tags)
.filter(function(k) {
if (k === 'area' || !osmIsInterestingTag(k)) return false;