Fix/linter (#10)

* fix(style): formatting inconsistencies across codebase

- Remove trailing semicolons from TypeScript imports
- Fix Vue template indentation and line breaks
- Standardize component attribute formatting
- Remove unnecessary empty lines
- Reorder import statements for consistency

* chore: update import path and add editorconfig

Update SidebarNavLink import path to match new component structure and add standard editorconfig for consistent code formatting
This commit is contained in:
Khafid Prayoga
2025-08-27 13:06:40 +07:00
committed by GitHub
parent 6b1c7a6b37
commit 6ad99d45f2
191 changed files with 108 additions and 236 deletions

No files matched your search

@@ -9,7 +9,6 @@ import {
import { computed } from 'vue'
import { cn } from '~/lib/utils'
const props = defineProps<MenubarRootProps & { class?: HTMLAttributes['class'] }>()
const emits = defineEmits<MenubarRootEmits>()
@@ -10,7 +10,6 @@ import {
import { computed } from 'vue'
import { cn } from '~/lib/utils'
const props = defineProps<MenubarCheckboxItemProps & { class?: HTMLAttributes['class'] }>()
const emits = defineEmits<MenubarCheckboxItemEmits>()
@@ -10,7 +10,6 @@ import {
import { computed } from 'vue'
import { cn } from '~/lib/utils'
const props = withDefaults(
defineProps<MenubarContentProps & { class?: HTMLAttributes['class'] }>(),
{
@@ -9,7 +9,6 @@ import {
import { computed } from 'vue'
import { cn } from '~/lib/utils'
const props = defineProps<MenubarItemProps & { class?: HTMLAttributes['class'], inset?: boolean }>()
const emits = defineEmits<MenubarItemEmits>()
@@ -4,7 +4,6 @@ import type { HTMLAttributes } from 'vue'
import { MenubarLabel } from 'radix-vue'
import { cn } from '~/lib/utils'
const props = defineProps<MenubarLabelProps & { class?: HTMLAttributes['class'], inset?: boolean }>()
</script>
@@ -10,7 +10,6 @@ import {
import { computed } from 'vue'
import { cn } from '~/lib/utils'
const props = defineProps<MenubarRadioItemProps & { class?: HTMLAttributes['class'] }>()
const emits = defineEmits<MenubarRadioItemEmits>()
@@ -5,7 +5,6 @@ import { MenubarSeparator, useForwardProps } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '~/lib/utils'
const props = defineProps<MenubarSeparatorProps & { class?: HTMLAttributes['class'] }>()
const delegatedProps = computed(() => {
@@ -2,7 +2,6 @@
import type { HTMLAttributes } from 'vue'
import { cn } from '~/lib/utils'
const props = defineProps<{
class?: HTMLAttributes['class']
}>()
@@ -10,7 +10,6 @@ import {
import { computed } from 'vue'
import { cn } from '~/lib/utils'
const props = defineProps<MenubarSubContentProps & { class?: HTMLAttributes['class'] }>()
const emits = defineEmits<MenubarSubContentEmits>()
@@ -5,7 +5,6 @@ import { MenubarSubTrigger, useForwardProps } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '~/lib/utils'
const props = defineProps<MenubarSubTriggerProps & { class?: HTMLAttributes['class'], inset?: boolean }>()
const delegatedProps = computed(() => {
@@ -5,7 +5,6 @@ import { MenubarTrigger, useForwardProps } from 'radix-vue'
import { computed } from 'vue'
import { cn } from '~/lib/utils'
const props = defineProps<MenubarTriggerProps & { class?: HTMLAttributes['class'] }>()
const delegatedProps = computed(() => {