Properly set up ESLint

This commit is contained in:
Joel Collins 2020-10-27 17:05:57 +00:00
parent e1cca30deb
commit 81ca64e0d8
8 changed files with 491 additions and 23 deletions

View file

@ -45,7 +45,7 @@ import loadingContent from "./components/loadingContent.vue";
import axios from "axios";
var Mousetrap = require("mousetrap");
Mousetrap.prototype.stopCallback = function(e, element, combo) {
Mousetrap.prototype.stopCallback = function(e, element) {
// if the element has the class "mousetrap" then no need to stop
if ((" " + element.className + " ").indexOf(" mousetrap ") > -1) {
return false;

View file

@ -1,5 +1,6 @@
<template>
<div>
<!-- eslint-disable-next-line vue/no-v-html -->
<p v-html="content"></p>
</div>
</template>

View file

@ -237,7 +237,6 @@
<option>Number</option>
</select>
</div>
</div>
</div>
</li>

View file

@ -8,11 +8,11 @@
>
</p>
<p class="uk-margin-small uk-width-xlarge">
Enabling IHI Slide Scan will add a new tab designed to simplify
acquiring blood smear tile scans. </br>
Enabling IHI Slide Scan will add a new tab designed to simplify acquiring
blood smear tile scans. <br />
While this may be useful for other applications, it is primarily designed
for use in clinics acquiring blood smear samples using a 100x oil-immersion
objective, with a Raspberry Pi Camera v2.
for use in clinics acquiring blood smear samples using a 100x
oil-immersion objective, with a Raspberry Pi Camera v2.
</p>
</div>
</template>