From 28c11a67cd2df9c65b2a5b16d18ced7639610f1f Mon Sep 17 00:00:00 2001 From: Julien Ripouteau Date: Sat, 20 Jan 2024 15:26:39 +0100 Subject: [PATCH] style: lint files --- resources/pages/home/components/select_menu.vue | 6 +++--- resources/tsconfig.json | 6 +++--- tsconfig.json | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/resources/pages/home/components/select_menu.vue b/resources/pages/home/components/select_menu.vue index c377830..2abe6a1 100644 --- a/resources/pages/home/components/select_menu.vue +++ b/resources/pages/home/components/select_menu.vue @@ -16,11 +16,11 @@ const group = inject('group', false) const model = defineModel({ required: true }) const display = computed(() => { - if (Array.isArray(model.value) && model.length > 0) { - return `${model.length} selected` + if (Array.isArray(model.value) && model.value.length > 0) { + return `${model.value.length} selected` } - if (model) { + if (model.value) { const option = props.options.find((option) => option.value === model.value) if (option) return option.label } diff --git a/resources/tsconfig.json b/resources/tsconfig.json index f0e0aa1..64756d6 100644 --- a/resources/tsconfig.json +++ b/resources/tsconfig.json @@ -10,14 +10,14 @@ "moduleResolution": "Bundler", "paths": { "@/*": ["./*"], - "~/*": ["../*"] + "~/*": ["../*"], }, "resolveJsonModule": true, "types": ["vite/client"], "allowSyntheticDefaultImports": true, "esModuleInterop": true, "verbatimModuleSyntax": true, - "skipLibCheck": true + "skipLibCheck": true, }, - "include": ["env.d.ts", "./**/*.ts", "./**/*.vue"] + "include": ["env.d.ts", "./**/*.ts", "./**/*.vue"], } diff --git a/tsconfig.json b/tsconfig.json index 165c5cf..c5b2150 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,11 +15,11 @@ "#validators/*": ["./app/validators/*.js"], "#start/*": ["./start/*.js"], "#config/*": ["./config/*.js"], - "#types/*": ["./types/*.js"] + "#types/*": ["./types/*.js"], }, "resolveJsonModule": true, - "outDir": "./build" + "outDir": "./build", }, "include": ["./**/*"], - "exclude": ["./resources/**/*"] + "exclude": ["./resources/**/*"], }