diff --git a/.eslintrc b/.eslintrc index f30b6cbc..dd594828 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,3 +1,7 @@ { - "extends": ["@nuxtjs/eslint-config-typescript"] + "extends": ["@nuxtjs/eslint-config-typescript"], + "rules": { + "semi": ["error", "always"], + "space-before-function-paren": ["error", "never"] + } } \ No newline at end of file diff --git a/.github/scripts/check_data_health.js b/.github/scripts/check_data_health.js index e1bca5c0..73de5d68 100644 --- a/.github/scripts/check_data_health.js +++ b/.github/scripts/check_data_health.js @@ -39,7 +39,7 @@ function checkGeoJsonDataHealth() { allLineStrings.push(feature); // 2 - check if all properties are present const properties = feature.properties || {}; - const requiredKeys = ['line', 'color', 'name', 'distance', 'status']; + const requiredKeys = ['line', 'color', 'name', 'status']; for (const key of requiredKeys) { if (!properties.hasOwnProperty(key)) { console.error(`Missing key '${key}' in LineString properties of file: ${filePath}`); diff --git a/components/Map.vue b/components/Map.vue index a2c00a16..41150228 100644 --- a/components/Map.vue +++ b/components/Map.vue @@ -7,12 +7,12 @@