Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Aug 12, 2024
1 parent 7dfc2b0 commit fb8f682
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Lint
run: pnpm run lint:ci
run: pnpm run lint:code
4 changes: 2 additions & 2 deletions components/input/Pos.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<div class="grid grid-flow-col gap-4">
<FormKit name="x" validation="required" label="X" type="number" step="1" v-model="xRef" />
<FormKit v-model="xRef" name="x" validation="required" label="X" type="number" step="1" />
<FormKit name="y" placeholder="optional" label="Y" type="number" step="1" :value="floored?.y" />
<FormKit name="z" validation="required" label="Z" type="number" step="1" v-model="zRef" />
<FormKit v-model="zRef" name="z" validation="required" label="Z" type="number" step="1" />
</div>
<MapView v-if="showMap" id="map" :zoom="8" :center="marker" @click="moveTo">
<MapDraggableMarker v-if="marker" :pos="marker" @dragend="moveTo" />
Expand Down
2 changes: 1 addition & 1 deletion components/input/formkit/IconSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<img :src="`${ICON_HOST}/${icon.url}`" :alt="icon.name" @click="select(icon)" />
</li>
</ul>
<p class="p-4" v-if="items.length === 0">No matches :/</p>
<p v-if="items.length === 0" class="p-4">No matches :/</p>
</div>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion components/map/View.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<client-only>
<MapLeaflet
v-if="context"
:ref="ready"
:center="center"
:zoom="zoom"
:disable-controls="disableControls"
:ref="ready"
@click="(...args) => emit('click', ...args)"
@contextmenu="(...args) => emit('contextmenu', ...args)"
>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"icongen": "render --output public/icons",
"codegen": "graphql-codegen",
"format": "prettier --write **/*.{vue,ts}",
"lint:ci": "eslint **/*.{vue,ts}",
"fix": "pnpm run format && pnpm run lint:code --fix",
"lint:code": "eslint **/*.{vue,ts,gql}",
"lint:style": "stylelint **/*.vue",
"lint": "pnpm lint:code && pnpm lint:style"
Expand Down

0 comments on commit fb8f682

Please sign in to comment.