Remove some unused "eslint-ignore" calls

This commit is contained in:
Matthias 2024-04-25 16:39:03 +02:00
parent 7d9e2d038a
commit f09bfd18aa
3 changed files with 4 additions and 8 deletions

View File

@ -56,12 +56,10 @@ const tradeModesTyped = computed(() => {
const tradeModes = computed(() => {
return tradeModesTyped.value.map((tm) => {
return (
{
text: `${tm.margin_mode} ${tm.trading_mode}`,
value: tm,
} ?? []
);
return {
text: `${tm.margin_mode} ${tm.trading_mode}`,
value: tm,
};
});
});

View File

@ -93,7 +93,6 @@
</template>
<script setup lang="ts">
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { formatPercent, formatPrice } from '@/shared/formatters';
import { MultiDeletePayload, MultiForcesellPayload, Trade } from '@/types';

1
src/env.d.ts vendored
View File

@ -6,7 +6,6 @@ interface ImportMetaEnv extends Readonly<Record<string, string>> {
readonly DEV: boolean;
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface ImportMeta {
readonly env: ImportMetaEnv;
}