From 923cf0765581c9e0c471cfff00886015a2e827bb Mon Sep 17 00:00:00 2001 From: Martin Stefcek <35243812+Cifko@users.noreply.github.com> Date: Thu, 23 Jun 2022 14:40:39 +0200 Subject: [PATCH] fix: add prettierignore for partials (#4229) Description --- Prettier doesn't support handlebars partials. I had to add them and their usage to `.prettierignore` How Has This Been Tested? --- `npm run check-fmt` --- applications/tari_explorer/.prettierignore | 2 ++ applications/tari_explorer/views/blocks.hbs | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 applications/tari_explorer/.prettierignore diff --git a/applications/tari_explorer/.prettierignore b/applications/tari_explorer/.prettierignore new file mode 100644 index 0000000000..36d82be495 --- /dev/null +++ b/applications/tari_explorer/.prettierignore @@ -0,0 +1,2 @@ +partials +views/blocks.hbs diff --git a/applications/tari_explorer/views/blocks.hbs b/applications/tari_explorer/views/blocks.hbs index 03ba99f780..6a991e87d6 100644 --- a/applications/tari_explorer/views/blocks.hbs +++ b/applications/tari_explorer/views/blocks.hbs @@ -86,8 +86,8 @@ {{#each kernels as |kernel|}} -

Kernel {{@index}}

- {{>TransactionKernel kernel}} +

Kernel {{@index}}

+ {{>TransactionKernel kernel}} {{/each}} @@ -106,8 +106,8 @@ {{#each outputs as |output|}} -

Output {{@index}}

- {{>TransactionOutput output}} +

Output {{@index}}

+ {{>TransactionOutput output}} {{/each}}