build(npm): set up Prettier
This commit is contained in:
parent
5c664be9a8
commit
6fb6ad8756
4 changed files with 44 additions and 0 deletions
14
.prettierrc
Normal file
14
.prettierrc
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"plugins": ["prettier-plugin-go-template"],
|
||||
"proseWrap": "preserve",
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.html"],
|
||||
"options": {
|
||||
"parser": "go-template",
|
||||
"printWidth": 80,
|
||||
"singleAttributePerLine": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue