Skip to content

Commit 69f7e06

Browse files
fix: lints
1 parent e85f2e1 commit 69f7e06

File tree

10 files changed

+15
-29
lines changed

10 files changed

+15
-29
lines changed

packages/vue/src/components/VectorMap.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import type { ComputedRef, PropType, Ref } from 'vue'
44
import { VectorMap as TsVectorMap } from 'ts-maps'
55
import brasilMap from 'ts-maps/brasil'
66
import canadaMap from 'ts-maps/canada'
7+
import iraqMap from 'ts-maps/iraq'
78
import italyMap from 'ts-maps/italy'
89
import russiaMap from 'ts-maps/russia'
910
import spainMap from 'ts-maps/spain'
10-
import iraqMap from 'ts-maps/iraq'
1111
import usaAeaMap from 'ts-maps/us-aea-en'
1212
import usaLccMap from 'ts-maps/us-lcc-en'
1313
import usaMercMap from 'ts-maps/us-merc-en'

playground/vue-samples/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<template>
22
<router-view />
3-
</template>
3+
</template>

playground/vue-samples/src/pages/brasil.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { MapOptions } from 'ts-maps'
3-
import { reactive, ref } from 'vue'
43
import { Brasil } from 'ts-maps-vue'
4+
import { reactive, ref } from 'vue'
55
66
interface EventData {
77
type: string
@@ -57,8 +57,6 @@ const options = reactive<Omit<MapOptions, 'selector'>>({
5757
],
5858
})
5959
60-
61-
6260
function toggleTheme() {
6361
isDarkTheme.value = !isDarkTheme.value
6462
options.backgroundColor = isDarkTheme.value ? '#2c3e50' : '#ffffff'
@@ -143,7 +141,7 @@ function handleLoaded() {
143141
<button @click="toggleZoom">
144142
{{ options.zoomOnScroll ? 'Disable' : 'Enable' }} Zoom
145143
</button>
146-
144+
147145
<div class="marker-info">
148146
Markers: {{ options.markers?.length || 0 }}
149147
</div>

playground/vue-samples/src/pages/canada.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { MapOptions } from 'ts-maps'
3-
import { reactive, ref } from 'vue'
43
import { Canada } from 'ts-maps-vue'
4+
import { reactive, ref } from 'vue'
55
66
interface EventData {
77
type: string
@@ -57,8 +57,6 @@ const options = reactive<Omit<MapOptions, 'selector'>>({
5757
],
5858
})
5959
60-
61-
6260
function toggleTheme() {
6361
isDarkTheme.value = !isDarkTheme.value
6462
options.backgroundColor = isDarkTheme.value ? '#2c3e50' : '#ffffff'
@@ -142,7 +140,7 @@ function handleLoaded() {
142140
<button @click="toggleZoom">
143141
{{ options.zoomOnScroll ? 'Disable' : 'Enable' }} Zoom
144142
</button>
145-
143+
146144
<div class="marker-info">
147145
Markers: {{ options.markers?.length || 0 }}
148146
</div>

playground/vue-samples/src/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { MapOptions } from 'ts-maps'
3-
import { computed, reactive, ref } from 'vue'
43
import { VectorMap } from 'ts-maps-vue'
4+
import { computed, reactive, ref } from 'vue'
55
66
type MapName = 'world' | 'world-merc' | 'us-merc' | 'us-mill' | 'us-lcc' | 'us-aea' | 'spain' | 'italy' | 'canada' | 'russia' | 'iraq' | 'brasil'
77

playground/vue-samples/src/pages/iraq.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { MapOptions } from 'ts-maps'
3-
import { reactive, ref } from 'vue'
43
import { Iraq } from 'ts-maps-vue'
4+
import { reactive, ref } from 'vue'
55
66
interface EventData {
77
type: string
@@ -57,8 +57,6 @@ const options = reactive<Omit<MapOptions, 'selector'>>({
5757
],
5858
})
5959
60-
61-
6260
function toggleTheme() {
6361
isDarkTheme.value = !isDarkTheme.value
6462
options.backgroundColor = isDarkTheme.value ? '#2c3e50' : '#ffffff'
@@ -143,7 +141,7 @@ function handleLoaded() {
143141
<button @click="toggleZoom">
144142
{{ options.zoomOnScroll ? 'Disable' : 'Enable' }} Zoom
145143
</button>
146-
144+
147145
<div class="marker-info">
148146
Markers: {{ options.markers?.length || 0 }}
149147
</div>

playground/vue-samples/src/pages/italy.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { MapOptions } from 'ts-maps'
3-
import { reactive, ref } from 'vue'
43
import { Italy } from 'ts-maps-vue'
4+
import { reactive, ref } from 'vue'
55
66
interface EventData {
77
type: string
@@ -57,8 +57,6 @@ const options = reactive<Omit<MapOptions, 'selector'>>({
5757
],
5858
})
5959
60-
61-
6260
function toggleTheme() {
6361
isDarkTheme.value = !isDarkTheme.value
6462
options.backgroundColor = isDarkTheme.value ? '#2c3e50' : '#ffffff'
@@ -143,7 +141,7 @@ function handleLoaded() {
143141
<button @click="toggleZoom">
144142
{{ options.zoomOnScroll ? 'Disable' : 'Enable' }} Zoom
145143
</button>
146-
144+
147145
<div class="marker-info">
148146
Markers: {{ options.markers?.length || 0 }}
149147
</div>

playground/vue-samples/src/pages/russia.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { MapOptions } from 'ts-maps'
3-
import { reactive, ref } from 'vue'
43
import { Russia } from 'ts-maps-vue'
4+
import { reactive, ref } from 'vue'
55
66
interface EventData {
77
type: string
@@ -57,8 +57,6 @@ const options = reactive<Omit<MapOptions, 'selector'>>({
5757
],
5858
})
5959
60-
61-
6260
function toggleTheme() {
6361
isDarkTheme.value = !isDarkTheme.value
6462
options.backgroundColor = isDarkTheme.value ? '#2c3e50' : '#ffffff'
@@ -143,7 +141,7 @@ function handleLoaded() {
143141
<button @click="toggleZoom">
144142
{{ options.zoomOnScroll ? 'Disable' : 'Enable' }} Zoom
145143
</button>
146-
144+
147145
<div class="marker-info">
148146
Markers: {{ options.markers?.length || 0 }}
149147
</div>

playground/vue-samples/src/pages/usa.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { MapOptions } from 'ts-maps'
3-
import { reactive, ref } from 'vue'
43
import { UnitedStates } from 'ts-maps-vue'
4+
import { reactive, ref } from 'vue'
55
66
interface EventData {
77
type: string
@@ -57,8 +57,6 @@ const options = reactive<Omit<MapOptions, 'selector'>>({
5757
],
5858
})
5959
60-
61-
6260
function toggleTheme() {
6361
isDarkTheme.value = !isDarkTheme.value
6462
options.backgroundColor = isDarkTheme.value ? '#2c3e50' : '#ffffff'

playground/vue-samples/src/pages/world.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { MapOptions } from 'ts-maps'
3-
import { reactive, ref } from 'vue'
43
import { WorldMap } from 'ts-maps-vue'
4+
import { reactive, ref } from 'vue'
55
66
interface EventData {
77
type: string
@@ -57,8 +57,6 @@ const options = reactive<Omit<MapOptions, 'selector'>>({
5757
],
5858
})
5959
60-
61-
6260
function toggleTheme() {
6361
isDarkTheme.value = !isDarkTheme.value
6462
options.backgroundColor = isDarkTheme.value ? '#2c3e50' : '#ffffff'

0 commit comments

Comments
 (0)