Skip to content

Commit 90246c7

Browse files
committed
fix: add lint:fix script and format code in app.vue and nuxt.config.ts
1 parent 784893c commit 90246c7

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
1111
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
1212
"lint": "eslint .",
13+
"lint:fix": "eslint . --fix",
1314
"test": "vitest run",
1415
"test:watch": "vitest watch",
1516
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit"

playground/app.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<template>
22
<div class="center">
3-
<GoogleSignInButton @success="onSuccess" @error="onError" />
3+
<GoogleSignInButton
4+
@success="onSuccess"
5+
@error="onError"
6+
/>
47
</div>
58
</template>
69

playground/nuxt.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import GoogleSignIn from '..'
33

44
export default defineNuxtConfig({
55
modules: [
6-
GoogleSignIn
6+
GoogleSignIn,
77
],
8+
devtools: { enabled: true },
89
googleSignIn: {
9-
clientId: process.env.NUXT_PUBLIC_GOOGLE_CLIENT_ID
10+
clientId: process.env.NUXT_PUBLIC_GOOGLE_CLIENT_ID,
1011
},
11-
devtools: { enabled: true },
1212
})

0 commit comments

Comments
 (0)