Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantgillespie committed Aug 7, 2024
1 parent 2022999 commit ab49773
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 27 deletions.
2 changes: 0 additions & 2 deletions components/Base/CheckboxGroup.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script setup lang="ts">
import { computed } from 'vue';
interface Option {
label: string;
value: string;
Expand Down
2 changes: 0 additions & 2 deletions components/Base/FormGroup.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script setup lang="ts">
import { computed } from 'vue';
interface Props {
label?: string;
required?: boolean;
Expand Down
13 changes: 0 additions & 13 deletions components/Base/Input.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<script setup lang="ts">
import { computed, ref } from 'vue';
interface Props {
modelValue: string;
label?: string;
Expand Down Expand Up @@ -28,11 +26,6 @@ const updateValue = (event: Event) => {
emit('update:modelValue', target.value);
};
const clearInput = () => {
emit('update:modelValue', '');
emit('clear');
};
const isInvalid = computed(() => !!props.error);
const inputClasses = computed(() => ({
Expand Down Expand Up @@ -62,12 +55,6 @@ const { theme } = useTheme();
<span v-if="appendIcon" class="append-icon-wrapper">
<BaseIcon :name="appendIcon" class="icon append-icon" />
</span>
<!-- <BaseIcon
v-if="type === 'search' && modelValue"
name="close"
class="icon append-icon clear-icon"
@click="clearInput"
/> -->
</div>
</template>

Expand Down
5 changes: 0 additions & 5 deletions composables/useDirectory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ interface FacetOption {
count: number;
}

interface Facet {
field: string;
options: FacetOption[];
}

interface FieldMapping {
[key: string]: string | any;
}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
},
"devDependencies": {
"@directus/sdk": "16.1.1",
"@directus/format-title": "^11.0.0",
"@formkit/auto-animate": "0.8.2",
"@directus/format-title": "11.0.0",
"@formkit/auto-animate": "0.8.2",
"@nuxt/devtools": "1.0.8",
"@nuxt/image": "1.3.0",
"@nuxt/kit": "3.11.1",
Expand All @@ -32,7 +32,7 @@
"eslint-plugin-vue": "9.21.1",
"feed": "4.2.2",
"floating-vue": "5.2.2",
"fuse.js": "7.0.0",
"fuse.js": "7.0.0",
"iconify-icon": "2.0.0",
"micromark": "4.0.0",
"micromark-extension-gfm": "3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion pages/agency-directory/[slug].vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { formatTitle } from '@directus/format-title'
import { formatTitle } from '@directus/format-title';
import type { Project } from '~/types/schema';
const { $directus, $readItems } = useNuxtApp();
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ab49773

Please sign in to comment.