HTML formatter: add "end_with_newline": true and npm run format

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich 2021-07-04 21:43:53 +03:00
parent e439ebe1f2
commit 01302ed713
2 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
{
"indent_size": 2
"indent_size": 2,
"end_with_newline": true
}

View file

@ -14,7 +14,7 @@
"js-beautify": "^1.14.0"
},
"scripts": {
"format": "stylelint --fix ./sass/*.scss && prettier --write *.md content/**/*.md"
"format": "stylelint --fix ./sass/*.scss && prettier --write *.md content/**/*.md; js-beautify -r templates/base.html"
},
"repository": {
"type": "git",