Adopting Prettier for templates in the adopted-ember-addons org#20
Adopting Prettier for templates in the adopted-ember-addons org#20patocallaghan wants to merge 1 commit intoadopted-ember-addons:masterfrom
Conversation
|
Thanks a lot for pushing this topic. As already expressed on Discord I fear the additional entry barrier most. In my perspective adopted sddons should be rather conservative in regards to adopting new tools and patterns. But I fully agree that the Ember ecosystem should adopt prettier for handlebars. Having at least an open RFC to add it to default blueprints first, would reduce my concerns. |
|
What happens in new Ember apps today? |
Prettier for Handlebars is not (yet) part of the default blueprints. There isn't even a RFC to add it. Only an issue to consider writing a RFC: emberjs/rfcs#777 Some concerns were raised in that issue if Prettier for Handlebars is good enough already to be used by default for new apps and addon. |
|
Can probably finish this up. I believe all issues, beyond stylistic, are fixed. |
This came out of a question I asked in the
#adopted-ember-addonschannel on Discord. As Prettier formatting of templates is now deemed stable and the whitespace issues have been resolved should we start encouraging its use for addons in the org?Just adding this to get the conversation going.
Disadvantages
Positives
yarn hbs:lint:fix./cc @jelhan @knownasilya @MelSumner @rwjblue