chore: remove leftover Prettier and ESLint references (#32459)
This commit is contained in:
parent
bfba6bb2fc
commit
5555395cd7
15 changed files with 13 additions and 132 deletions
|
|
@ -73,9 +73,9 @@
|
|||
<template v-if="newVersionAvailable">
|
||||
<hr />
|
||||
<h6>{{ $t("footer.version.modalNextRelease") }}</h6>
|
||||
<!-- eslint-disable vue/no-v-html -->
|
||||
<!-- oxlint-disable vue/no-v-html -->
|
||||
<div v-if="releaseNotes" class="release-notes" v-html="cleanedReleaseNotes"></div>
|
||||
<!-- eslint-enable vue/no-v-html -->
|
||||
<!-- oxlint-enable vue/no-v-html -->
|
||||
<p v-else>
|
||||
{{ $t("footer.version.modalNoReleaseNotes") }}
|
||||
<a :href="releaseNotesUrl(availableVersion)">GitHub</a>.
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@
|
|||
import type { PropType } from "vue";
|
||||
import QRCode from "qrcode";
|
||||
import "@h2d2/shopicons/es/regular/trash";
|
||||
// oxlint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
// oxlint-disable-next-line typescript/no-unused-vars
|
||||
import type { EebusConfig, EebusPairing, EebusStatus, YamlSource } from "@/types/evcc";
|
||||
import api from "@/api";
|
||||
import JsonModal from "./JsonModal.vue";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<!-- eslint-disable vue/no-v-html -->
|
||||
<!-- oxlint-disable vue/no-v-html -->
|
||||
<template>
|
||||
<div class="mb-4">
|
||||
<label :for="id">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<!-- eslint-disable-next-line vue/no-v-html -->
|
||||
<!-- oxlint-disable-next-line vue/no-v-html -->
|
||||
<div class="root" v-html="compiledMarkdown"></div>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@ export default defineComponent({
|
|||
return Math.round(Math.min(maxWidth, Math.max(minWidth, scale * maxWidth)));
|
||||
},
|
||||
options() {
|
||||
// oxlint-disable-next-line @typescript-eslint/no-this-alias
|
||||
// oxlint-disable-next-line typescript/no-this-alias
|
||||
const vThis = this;
|
||||
return {
|
||||
...commonOptions,
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ export default defineComponent({
|
|||
const priceColor = colors.price || "";
|
||||
const exportColor = colors.export || "";
|
||||
|
||||
// oxlint-disable-next-line @typescript-eslint/no-this-alias
|
||||
// oxlint-disable-next-line typescript/no-this-alias
|
||||
const vThis = this;
|
||||
return {
|
||||
animationDuration: 0,
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ export default defineComponent({
|
|||
chartOption(): Record<string, unknown> {
|
||||
const color = this.color;
|
||||
|
||||
// oxlint-disable-next-line @typescript-eslint/no-this-alias
|
||||
// oxlint-disable-next-line typescript/no-this-alias
|
||||
const vThis = this;
|
||||
return {
|
||||
animationDuration: 0,
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ export default defineComponent({
|
|||
},
|
||||
options() {
|
||||
// capture vue component this to be used in chartjs callbacks
|
||||
// oxlint-disable-next-line @typescript-eslint/no-this-alias
|
||||
// oxlint-disable-next-line typescript/no-this-alias
|
||||
const vThis = this;
|
||||
return {
|
||||
...commonOptions,
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ export default defineComponent({
|
|||
},
|
||||
options() {
|
||||
// capture vue component this to be used in chartjs callbacks
|
||||
// oxlint-disable-next-line @typescript-eslint/no-this-alias
|
||||
// oxlint-disable-next-line typescript/no-this-alias
|
||||
const vThis = this;
|
||||
return {
|
||||
...commonOptions,
|
||||
|
|
|
|||
2
assets/js/types/vue.d.ts
vendored
2
assets/js/types/vue.d.ts
vendored
|
|
@ -1,4 +1,4 @@
|
|||
// oxlint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
// oxlint-disable-next-line typescript/no-unused-vars
|
||||
import type { ComponentCustomProperties } from "vue";
|
||||
|
||||
declare module "vue" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue