Question: So the problem is that prettier does not format html very well.

for instance if I have this angular template:

```
<some-component
  some-attribute 
  [ang-binding1]='someExpr'
  [ang-binding2]='someExpr'
  (someEvent)='someFunc($event)'>
</some-component>

```

prettier will format it to something like this:

```
<some-component some-attribute [ang-binding1]='someExpr' [ang-binding2]='someExpr' (someEvent)='someFunc($event)'>
</some-component>

```

how do I disable prettier formating for html templates ?

Answer: 
If you use prettier with pre-commit hook (for example, with husky), changing the editor settings will not help you.  

You need to add file `.prettierignore` with the following content:

```
*.html

```

File format is similar to .gitignore. You can read more here: <https://prettier.io/docs/en/ignore.html>
Adding more information to what above mentioned:

Press Ctrl + ,

Type "prettier"

Go to "Prettier: Disable Languages" option

Add "html" to it

[![enter image description here](https://i.stack.imgur.com/M6DDm.png)](https://i.stack.imgur.com/M6DDm.png)