Update code style to prettier3 rules

This commit is contained in:
Matthias 2023-07-11 22:02:02 +02:00
parent 7e89f66512
commit 86989fac6b
3 changed files with 11 additions and 10 deletions

View File

@ -29,7 +29,10 @@
small
hover
stacked="sm"
:items="(backtestResult.exit_reason_summary || backtestResult.sell_reason_summary) as unknown as TableItem[]"
:items="
(backtestResult.exit_reason_summary ||
backtestResult.sell_reason_summary) as unknown as TableItem[]
"
:fields="perExitReason"
>
</b-table>
@ -49,9 +52,8 @@
header="Periodic breakdown"
class="row mt-2 w-100"
>
<BacktestResultPeriodBreakdown
:periodic-breakdown="backtestResult.periodic_breakdown"
></BacktestResultPeriodBreakdown>
<BacktestResultPeriodBreakdown :periodic-breakdown="backtestResult.periodic_breakdown">
</BacktestResultPeriodBreakdown>
</b-card>
<b-card header="Single trades" class="row mt-2 w-100">

View File

@ -50,9 +50,8 @@ const exchangeList = computed(() => {
});
const tradeModesTyped = computed(() => {
const val = botStore.activeBot.exchangeList.find(
(ex) => ex.name === exchangeModel.value.exchange,
)?.trade_modes;
const val = botStore.activeBot.exchangeList.find((ex) => ex.name === exchangeModel.value.exchange)
?.trade_modes;
return val ?? [];
});

View File

@ -16,9 +16,9 @@
:allow-edit="true"
class="d-flex flex-grow-1"
@delete="pairlistStore.deleteConfig"
@duplicate="(oldName:string,newName:string) => pairlistStore.duplicateConfig(newName)"
@new="(name:string) => pairlistStore.newConfig(name)"
@rename="(oldName: string, newName:string) => pairlistStore.saveConfig(newName)"
@duplicate="(oldName: string, newName: string) => pairlistStore.duplicateConfig(newName)"
@new="(name: string) => pairlistStore.newConfig(name)"
@rename="(oldName: string, newName: string) => pairlistStore.saveConfig(newName)"
>
<b-form-select
v-model="pairlistStore.configName"