diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 69c6549f..35ea48be 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -15,6 +15,7 @@ module.exports = { 'space-before-blocks': ['error', 'always'], 'space-infix-ops': ['error', { int32Hint: false }], 'no-multi-spaces': ['error', { ignoreEOLComments: true }], + 'no-trailing-spaces': ['error'], // Typescript '@typescript-eslint/type-annotation-spacing': 'error', diff --git a/docs/components/content/examples/AlertExampleAvatar.vue b/docs/components/content/examples/AlertExampleAvatar.vue index 66db4bdf..63a8e4ae 100644 --- a/docs/components/content/examples/AlertExampleAvatar.vue +++ b/docs/components/content/examples/AlertExampleAvatar.vue @@ -1,15 +1,15 @@ - \ No newline at end of file diff --git a/docs/components/content/examples/SlideoverExampleComponent.vue b/docs/components/content/examples/SlideoverExampleComponent.vue index eb177b89..4d34ba16 100644 --- a/docs/components/content/examples/SlideoverExampleComponent.vue +++ b/docs/components/content/examples/SlideoverExampleComponent.vue @@ -23,7 +23,7 @@ const emits = defineEmits<{ - + diff --git a/src/runtime/components/elements/Accordion.vue b/src/runtime/components/elements/Accordion.vue index d3b16a5e..a378b422 100644 --- a/src/runtime/components/elements/Accordion.vue +++ b/src/runtime/components/elements/Accordion.vue @@ -133,7 +133,7 @@ export default defineComponent({ const uiButton = computed(() => configButton) const buttonRefs = ref<{ open: boolean, close: (e: EventTarget) => {} }[]>([]) - + const openedStates = computed(() => buttonRefs.value.map(({ open }) => open)) watch(openedStates, (newValue, oldValue) => { for (const index in newValue) {