Skip to content

Commit 71a9152

Browse files
authored
Merge pull request #341 from vuejs-jp/enhance/eslint-lint-fix
Enhance/eslint lint fix
2 parents cbccf3c + c473f46 commit 71a9152

File tree

20 files changed

+57
-30
lines changed

20 files changed

+57
-30
lines changed

apps/web/.eslintrc.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ module.exports = {
2323
'privacy',
2424
'register',
2525
'share',
26+
'sharemap',
27+
'tokusho',
2628
'users',
2729
'[id]',
2830
],

apps/web/app/components/admin/AttendeeList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const handleConfirm = (attendee?: Attendee) => {
9595
</td>
9696
</tr>
9797
</table>
98-
<VFDialog v-if="showDialog">
98+
<VFDialog v-if="showDialog" open>
9999
<AdminAttendeeItem :attendee="attendees.filter((s) => s.id === attendeeId)[0]" @close="handleDialog" />
100100
</VFDialog>
101101
</template>

apps/web/app/components/admin/JobList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const handleDialog = (id?: string) => {
6262
</td>
6363
</tr>
6464
</table>
65-
<VFDialog v-if="showDialog">
65+
<VFDialog v-if="showDialog" open>
6666
<AdminJobItem
6767
:job="jobs.filter((s) => s.id === jobId)[0]"
6868
:sponsors

apps/web/app/components/admin/Page.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const pageText = props.page.replace(/^[a-z]/g, function (val) {
115115
<AdminStaffList :staffs="staffs?.data" />
116116
<AdminAdminUserList :admin-users="adminUsers?.data" />
117117
</div>
118-
<VFDialog v-if="showDialog">
118+
<VFDialog v-if="showDialog" open>
119119
<AdminSpeakerItem v-if="page === 'speaker'" @close="handleDialog" />
120120
<AdminSponsorItem v-if="page === 'sponsor'" :speakers="speakers?.data" @close="handleDialog" />
121121
<AdminJobItem v-if="page === 'job'" :sponsors="sponsors?.data" @close="handleDialog" />

apps/web/app/components/admin/SpeakerList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const handleDialog = (id?: string) => {
9595
</td>
9696
</tr>
9797
</table>
98-
<VFDialog v-if="showDialog">
98+
<VFDialog v-if="showDialog" open>
9999
<AdminSpeakerItem :speaker="speakers.filter((s) => s.id === speakerId)[0]" @close="handleDialog" />
100100
</VFDialog>
101101
</template>

apps/web/app/components/admin/SponsorList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const handleDialog = (id?: string) => {
101101
</td>
102102
</tr>
103103
</table>
104-
<VFDialog v-if="showDialog">
104+
<VFDialog v-if="showDialog" open>
105105
<AdminSponsorItem
106106
:sponsor="sponsors.filter((s) => s.id === sponsorId)[0]"
107107
:speakers="speakers"

apps/web/app/components/admin/StaffList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const handleDialog = (id?: string) => {
7474
</td>
7575
</tr>
7676
</table>
77-
<VFDialog v-if="showDialog">
77+
<VFDialog v-if="showDialog" open>
7878
<AdminStaffItem
7979
:staff="staffs.filter((s) => s.id === staffId)[0]"
8080
@close="handleDialog"

apps/web/app/composables/useInvitation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export function useInvitation() {
1717
})
1818

1919
async function publish(type: 'invite' | 'delete', target: string) {
20+
// eslint-disable-next-line no-undef
2021
await $fetch(`/api/${type}-user`, {
2122
method: 'post',
2223
headers: {

apps/web/app/server/api/speakers.get.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import db from '../db'
2+
import { useRuntimeConfig } from '#imports'
23
import { defineEventHandler } from 'h3'
34
import type { PanelerInfo, Speaker, SpeakerInfo } from '@vuejs-jp/model'
45
import { serverSupabaseClient } from '#supabase/server'

apps/web/app/server/api/sponsors.get.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import db from '../db'
2+
import { useRuntimeConfig } from '#imports'
23
import { defineEventHandler } from 'h3'
34
import type { Sponsor, SponsorInfo } from '@vuejs-jp/model'
45
import { serverSupabaseClient } from '#supabase/server'

0 commit comments

Comments
 (0)