DEV: Fix indentation

DEV: Fix indentation

diff --git a/app/assets/javascripts/discourse/templates/components/reviewable-user.hbs b/app/assets/javascripts/discourse/templates/components/reviewable-user.hbs
index f1b08f7..96977b4 100644
--- a/app/assets/javascripts/discourse/templates/components/reviewable-user.hbs
+++ b/app/assets/javascripts/discourse/templates/components/reviewable-user.hbs
@@ -14,17 +14,17 @@
     </div>
     
     {{reviewable-field classes='reviewable-user-details name'
-                               name=(i18n 'review.user.name')
-                               value=reviewable.payload.name}}
+                       name=(i18n 'review.user.name')
+                       value=reviewable.payload.name}}
     
     {{reviewable-field classes='reviewable-user-details email'
-                               name=(i18n 'review.user.email')
-                               value=reviewable.payload.email}}
+                       name=(i18n 'review.user.email')
+                       value=reviewable.payload.email}}
     
     {{#each userFields as |f|}}
       {{reviewable-field classes='reviewable-user-details user-field'
-                                 name=f.name
-                                 value=f.value}}
+                         name=f.name
+                         value=f.value}}
     {{/each}}
   </div>

GitHub sha: a0a28235

FWIW, I think the correct indentation here is :

{{reviewable-field 
  classes='reviewable-user-details name'
  name=(i18n 'review.user.name')
  value=reviewable.payload.name}}

I’m not enforcing this until we can have some kind of prettier for hbs files

1 Like

Most of the hbs components code it’s written as in my commit. Would be awesome to have a prettier for hbs :star_struck:

2 Likes

dont think it’s coming very soon Support Handlebars · Issue #5340 · prettier/prettier · GitHub

1 Like

hmm actually I just tried it again, and it seems to be working way better than what it used to do.

1 Like