Skip to content

Commit

Permalink
fix: add prettierignore for partials (#4229)
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
Cifko authored Jun 23, 2022
1 parent 6965bfb commit 923cf07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions applications/tari_explorer/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
partials
views/blocks.hbs
8 changes: 4 additions & 4 deletions applications/tari_explorer/views/blocks.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@
{{#each kernels as |kernel|}}
<tr>
<td>
<h3>Kernel {{@index}}</h3>
{{>TransactionKernel kernel}}
<h3>Kernel {{@index}}</h3>
{{>TransactionKernel kernel}}
</td>
</tr>
{{/each}}
Expand All @@ -106,8 +106,8 @@
{{#each outputs as |output|}}
<tr>
<td>
<h3>Output {{@index}}</h3>
{{>TransactionOutput output}}
<h3>Output {{@index}}</h3>
{{>TransactionOutput output}}
</td>
</tr>
{{/each}}
Expand Down

0 comments on commit 923cf07

Please sign in to comment.