Add html-indent for template plugin. #564
Replies: 3 comments
-
Hey @francoserio, we recommend using formatters to indent as they can do this much better than a linter. |
Beta Was this translation helpful? Give feedback.
-
Hi @francoserio I took the opportunity to formally write up our view on using a linter to enforce code formatting concerns here: |
Beta Was this translation helpful? Give feedback.
-
Ok, thank you very much @rafaelss95 for the quick response! Also, thanks @JamesHenry for having written the position for future concerns about this! |
Beta Was this translation helpful? Give feedback.
-
Hi all,
First, let me apologize if this is not the place to ask for this.
I have started my journey in the Angular world pretty recently so I might be wrong, but as I understand, right now there is no rule in the package eslint-plugin-template to avoid the following:
For example the eslint-plugin-vue plugin has a rule with the following options (you can check it here):
Is this something we could add to the template plugin? Is there a simpler option I am not seeing? If there is some agreement I will make an issue and try to implement it.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions