feat: lint codebase and run precommit hook

This commit is contained in:
Rotimi Best
2025-12-25 09:01:51 +00:00
parent 334c67f22a
commit b31ccf3037
214 changed files with 6191 additions and 2880 deletions
@@ -1,9 +1 @@
export const FIELDS = [
'type',
'value',
'onValueChange',
'disabled',
'name',
'loop',
'orientation'
] as string[];
export const FIELDS = ['type', 'value', 'onValueChange', 'disabled', 'name', 'loop', 'orientation'] as string[];
@@ -1,8 +1 @@
export const FIELDS = [
'checked',
'onCheckedChange',
'disabled',
'name',
'value',
'required'
] as string[];
export const FIELDS = ['checked', 'onCheckedChange', 'disabled', 'name', 'value', 'required'] as string[];
@@ -1,6 +1 @@
export const FIELDS = [
'open',
'onOpenChange',
'onOpenChangeComplete',
'disabled'
] as string[];
export const FIELDS = ['open', 'onOpenChange', 'onOpenChangeComplete', 'disabled'] as string[];
@@ -1,8 +1 @@
export const FIELDS = [
'value',
'onValueChange',
'label',
'filter',
'columns',
'disablePointerSelection'
] as string[];
export const FIELDS = ['value', 'onValueChange', 'label', 'filter', 'columns', 'disablePointerSelection'] as string[];
@@ -68,22 +68,19 @@
{
name: 'v0-1.5-sm',
description: 'Everyday tasks and UI generation.',
image:
'https://images.unsplash.com/photo-1650804068570-7fb2e3dbf888?q=80&w=640&auto=format&fit=crop',
image: 'https://images.unsplash.com/photo-1650804068570-7fb2e3dbf888?q=80&w=640&auto=format&fit=crop',
credit: 'Valeria Reverdo on Unsplash'
},
{
name: 'v0-1.5-lg',
description: 'Advanced thinking or reasoning.',
image:
'https://images.unsplash.com/photo-1610280777472-54133d004c8c?q=80&w=640&auto=format&fit=crop',
image: 'https://images.unsplash.com/photo-1610280777472-54133d004c8c?q=80&w=640&auto=format&fit=crop',
credit: 'Michael Oeser on Unsplash'
},
{
name: 'v0-2.0-mini',
description: 'Open Source model for everyone.',
image:
'https://images.unsplash.com/photo-1602146057681-08560aee8cde?q=80&w=640&auto=format&fit=crop',
image: 'https://images.unsplash.com/photo-1602146057681-08560aee8cde?q=80&w=640&auto=format&fit=crop',
credit: 'Cherry Laithang on Unsplash'
}
];
@@ -413,4 +410,3 @@
</div>
{/snippet}
</Story>
@@ -1,7 +1 @@
export const FIELDS = [
'onValueChange',
'value',
'dir',
'onOpenChange',
'disabled'
] as string[];
export const FIELDS = ['onValueChange', 'value', 'dir', 'onOpenChange', 'disabled'] as string[];
@@ -1,7 +1 @@
export const FIELDS = [
'count',
'page',
'onPageChange',
'perPage',
'orientation'
] as string[];
export const FIELDS = ['count', 'page', 'onPageChange', 'perPage', 'orientation'] as string[];
@@ -1,9 +1 @@
export const FIELDS = [
'value',
'onValueChange',
'disabled',
'required',
'name',
'loop',
'orientation'
] as string[];
export const FIELDS = ['value', 'onValueChange', 'disabled', 'required', 'name', 'loop', 'orientation'] as string[];
@@ -1,8 +1 @@
export const FIELDS = [
'checked',
'onCheckedChange',
'disabled',
'name',
'required',
'value'
] as string[];
export const FIELDS = ['checked', 'onCheckedChange', 'disabled', 'name', 'required', 'value'] as string[];
+1 -7
View File
@@ -1,7 +1 @@
export const FIELDS = [
'value',
'onValueChange',
'disabled',
'activationMode',
'orientation'
] as string[];
export const FIELDS = ['value', 'onValueChange', 'disabled', 'activationMode', 'orientation'] as string[];
@@ -1,6 +1 @@
export const FIELDS = [
'disableHoverableContent',
'delayDuration',
'ignoreNonKeyboardFocus',
'disabled'
] as string[];
export const FIELDS = ['disableHoverableContent', 'delayDuration', 'ignoreNonKeyboardFocus', 'disabled'] as string[];
@@ -1,2 +1 @@
export const FIELDS = ['class'] as string[];
@@ -1,2 +1 @@
export const FIELDS = ['disabled', 'class', 'type', 'tooltip', 'tooltipSide'] as string[];
@@ -1,2 +1 @@
export const FIELDS = ['class'] as string[];
@@ -1,2 +1 @@
export const FIELDS = ['class'] as string[];
@@ -94,4 +94,3 @@
</div>
{/snippet}
</Story>