Resolved ALL eslint issues for project

This commit is contained in:
2022-08-12 23:46:55 +02:00
parent 29dfe55974
commit 3594b18872
63 changed files with 1064 additions and 800 deletions

View File

@@ -8,7 +8,7 @@
<results-list-item
v-for="(result, index) in results"
:key="generateResultKey(index, `${result.type}-${result.id}`)"
:listItem="result"
:list-item="result"
/>
</ul>
@@ -23,11 +23,11 @@
interface Props {
results: Array<ListResults>;
shortList?: Boolean;
loading?: Boolean;
shortList?: boolean;
loading?: boolean;
}
const props = defineProps<Props>();
defineProps<Props>();
function generateResultKey(index: string | number | symbol, value: string) {
return `${String(index)}-${value}`;