diff --git a/package.json b/package.json index 2402c12f..9bf5e811 100644 --- a/package.json +++ b/package.json @@ -55,11 +55,11 @@ "@vue/test-utils": "^2.4.0", "cypress": "^12.17.1", "eslint": "^8.44.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-vue": "^9.15.1", "mutationobserver-shim": "^0.3.7", "portal-vue": "^3.0.0", - "prettier": "^2.8.8", + "prettier": "^3.0.0", "sass": "^1.63.6", "typescript": "~5.1.6", "unplugin-icons": "^0.16.3", diff --git a/src/components/ftbot/BacktestResultView.vue b/src/components/ftbot/BacktestResultView.vue index 078263ed..67b55a45 100644 --- a/src/components/ftbot/BacktestResultView.vue +++ b/src/components/ftbot/BacktestResultView.vue @@ -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" > @@ -49,9 +52,8 @@ header="Periodic breakdown" class="row mt-2 w-100" > - + + diff --git a/src/components/ftbot/ExchangeSelect.vue b/src/components/ftbot/ExchangeSelect.vue index fab8bc56..777f0c7a 100644 --- a/src/components/ftbot/ExchangeSelect.vue +++ b/src/components/ftbot/ExchangeSelect.vue @@ -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 ?? []; }); diff --git a/src/components/ftbot/PairlistConfigActions.vue b/src/components/ftbot/PairlistConfigActions.vue index 538bcf06..2606ca71 100644 --- a/src/components/ftbot/PairlistConfigActions.vue +++ b/src/components/ftbot/PairlistConfigActions.vue @@ -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)" >