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:
Kavin
2021-10-08 19:52:51 +01:00
committed by GitHub
parent 41ac97ed92
commit 92d61a23af
24 changed files with 412 additions and 362 deletions

View File

@@ -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,