mirror of
https://github.com/TeamPiped/Piped.git
synced 2026-04-03 06:16:59 +00:00
Make eslint work, and fix all warnings. (#511)
* Make eslint work, and fix all warnings. * Don't ignore v-html rule globally. * Remove eslint file and merge in package.json.
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
v-for="(suggestion, i) in searchSuggestions"
|
||||
:key="i"
|
||||
:style="[selected === i ? { background: secondaryForegroundColor } : {}]"
|
||||
class="uk-margin-remove suggestion"
|
||||
@mouseover="onMouseOver(i)"
|
||||
@mousedown.stop="onClick(i)"
|
||||
class="uk-margin-remove suggestion"
|
||||
>
|
||||
{{ suggestion }}
|
||||
</li>
|
||||
@@ -21,8 +21,9 @@
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
searchText: String,
|
||||
searchText: { type: String, default: "" },
|
||||
},
|
||||
emits: ["searchchange"],
|
||||
data() {
|
||||
return {
|
||||
selected: 0,
|
||||
|
||||
Reference in New Issue
Block a user