Style: make code style consistent #186

Merged
jakob.scheid merged 29 commits from style/make-code-style-consistent into main 2026-08-09 13:09:54 +02:00
4 changed files with 3 additions and 9 deletions
Showing only changes of commit a221b5f04f - Show all commits
@@ -17,7 +17,7 @@ limitations under the License.
<script setup> <script setup>
import { useSettingsStore } from '../stores/settingsStore'; import { useSettingsStore } from '../stores/settingsStore';
import Icon from '@/features/icons/components/Icon.vue'; import Icon from '@/features/icons/components/Icon.vue';
import { computed, ref, useId, watch } from 'vue'; import { computed, useId } from 'vue';
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
const { t } = useI18n(); const { t } = useI18n();
@@ -219,7 +219,7 @@ describe('Selection', () => {
expect( expect(
options options
.map((option) => option.name) .map((option) => option.name)
.filter((entry, i) => checkedInputs[i]) .filter((_, i) => checkedInputs[i])
).toStrictEqual(value); ).toStrictEqual(value);
}; };
@@ -59,7 +59,7 @@ describe('useSettings', () => {
}); });
test('returns default value', () => { test('returns default value', () => {
const { getSetting, setSetting } = useSettings(); const { getSetting } = useSettings();
expect(getSetting(settingPath)).toBe(settingDefaultValue); expect(getSetting(settingPath)).toBe(settingDefaultValue);
}); });
-6
View File
@@ -19,16 +19,10 @@ import Searchbar from '../features/search/components/Searchbar.vue';
import logo from '@/assets/images/logo.svg'; import logo from '@/assets/images/logo.svg';
import { ref } from 'vue'; import { ref } from 'vue';
import { useI18n } from 'vue-i18n'; import { useI18n } from 'vue-i18n';
import { useRouter } from 'vue-router';
const { t } = useI18n(); const { t } = useI18n();
const router = useRouter();
const searchQuery = ref(''); const searchQuery = ref('');
const submitSearch = function ensureUnit() {
};
</script> </script>
<template> <template>